import List main=do x<-readLn;mapM(putStrLn.map(max '/').show)$nub$sort[n/d|d<-[1..toRational x],n<-[0..d]]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page