main=interact$unlines.f f(n:_:s)=g(\a->a%a)%g(%' ')where a%b=a:[b|x<-['3'..n]]++[a];g=(init s>>=)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page