for(i=1,100,print(if(x=factor(i),x[#x~,1],1)))