using System; namespace A_GuesstheFunction { internal class Program { static void Main(string[] args) { Console.WriteLine("? 1"); int x = int.Parse(Console.ReadLine()); Console.WriteLine("? 100"); int y = int.Parse(Console.ReadLine()); int a = (101 - x - y) / 2; int b = 0; for(int i = 1; i <= 100; i++) { if((100 + a) % i == y) { b = i; break; } } Console.WriteLine(string.Format("! {0} {1}", a, b)); } } }