main=do n<-readLn;interact$(>>=(n!).(++" ")).lines n!s=last$s:[a++'\n':n!b|(a,' ':b)<-map(`splitAt`s)[0..n-1]]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page