$n=<>; $a=$n>10?$n-10:2;$b=$n-$a; print"$a $b"