import List main=do x<-readLn;mapM(putStrLn.map(max '/').show)$nub$sort[n/d|d<-[1..toRational x],n<-[0..d]]