function f=ex323(n)
    a=2;f=[];
    while(n~=1)
        if(mod(n,a)==0)
            f=[f,a];
            n=n/a;
        else
            a=a+1;
        end
    end