main=mapM print$[1..999]%3 (a:b)%n|mod a n<1=a:b%f n|1>0=b%n f 7=3 f n=n+2