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