#include "bits/stdc++.h" #define ALL(obj) (obj).begin(),(obj).end() #define RALL(obj) (obj).rbegin(),(obj).rend() #define REP(i, n) for(int i = 0; i < (int)(n); i++) #define REPR(i, n) for(int i = (int)(n); i >= 0; i--) #define FOR(i,n,m) for(int i = (int)(n); i < int(m); i++) using namespace std; typedef long long ll; const int MOD = 1e9 + 7; const int INF = MOD - 1; const ll LLINF = 4e18; // 質問クエリ int ask(int x, int y, int z) { int d; cout << "?" << " " << x << " " << y << " " << z << endl; cin >> d; return d; } // 回答クエリ void answer(int x, int y, int z) { cout << "!" << " " << x << " " << y << " " << z << endl; } int main() { int x, y, z; int l, r; l = -100, r = 100; while (r - l > 2) { int m1 = (2 * l + r) / 3; int m2 = (l + 2 * r) / 3; if (ask(m1, 0, 0) <= ask(m2, 0, 0)) { l = m1; } else { r = m2; } } x = (l + r) / 2; l = -100, r = 100; while (r - l > 2) { int m1 = (2 * l + r) / 3; int m2 = (l + 2 * r) / 3; if (ask(0, m1, 0) <= ask(0, m2, 0)) { l = m1; } else { r = m2; } } y = (l + r) / 2; l = -100, r = 100; while (r - l > 2) { int m1 = (2 * l + r) / 3; int m2 = (l + 2 * r) / 3; if (ask(0, 0, m1) <= ask(0, 0, m2)) { l = m1; } else { r = m2; } } z = (l + r) / 2; answer(x, y, z); getchar(); getchar(); }