import strformat, strutils let n = parseInt readLine stdin x = n div 2 if (n mod 2) == 0: echo &"{x} {x}" else: echo &"{x} {succ x}"