let n = read_int() in let rec f n i c a=if i