# Matlab, 48 bytes n=input('');a=1:n^.5;b=mod(n,a)<1;[a(b),n./a(b)]