using System; using System.Text.RegularExpressions; class Program { public void Solve() { int N = int.Parse(Console.ReadLine()); Console.WriteLine("{0} {1}", Math.Ceiling((double)N / 2), Math.Floor((decimal)N / 2)); } static void Main() { var solver = new Program(); solver.Solve(); } }