(dotimes(n 1001)((rec(r i f)(if(<= #0=(* i f)n)(r(+ i 1)#0#))(write(div(mod n #0#)f)))1 1)(print))