let a = int (stdin.ReadLine()) printfn "%d %d" (a / 2) (a - a / 2)