first = ["?",0,0] print(*first) second = ["?",100,0] print(*second) x,y = map(int,input()) ans_x = (10000 + x - y)//200 ans_y = round(round(y - ans_x ** 2) ** 0.5) z = ["!",ans_x,ans_y] print(*z)