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