for n=0 to 99 do let x=n mod 3/2*4+n mod 5/4*4 in print_int(if x>0 then x else if n>9 then 2 else 1);print_endline""done