using System; public class Hello { public static void Main() { var n = long.Parse(Console.ReadLine().Trim()); for (int i = 3; i < n; i++) if (check(i) && check(n - i)) { Console.WriteLine("{0} {1}", i, n - i); goto end; } Console.WriteLine(-1); end:; } public static bool check(long n) => (n & (n - 1)) == 0 ? false : true; }