using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static int[] NList => ReadLine().Split().Select(int.Parse).ToArray(); static int[][] NArr(long n) => Enumerable.Repeat(0, (int)n).Select(_ => NList).ToArray(); public static void Main() { Solve(); } static void Solve() { WriteLine("? 0 0"); var x = NN; WriteLine("? 0 100"); var y = NN; for (var i = 0; i <= 100; ++i) for (var j = 0; j <= 100; ++j) { if (i * i + j * j == x && i * i + (100 - j) * (100 - j) == y) { WriteLine($"! {i} {j}"); return; } } } }