def e(): n,t=s(input(),2,1);p=3 while n/p/p: \x09if n%p<1:n,t=s(n,p,t) \x09p+=2 print(t,t*~-n)[n>1] def s(n,p,t): \x09c=1 \x09while n%p<1:n/=p;t*=p-c;c=0 \x09return n,t while 1:e()
Note that non-ascii characters in the above source code will be escaped (such as \x9f).