Scanf.scanf "%d" (fun x -> Printf.printf "%d\n" @@ if x mod 2 = 0 then x / 2 else x )