function p3=ex326(n)
    m=2;
    while(n~=1)
        if(mod(n,m)==0)
            n=n/m;
        else
            m=m+1;
        end
    end
    p3=m;