#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define REP(i,n) for(int i=0; i=b; --i) #define ALL(c) (c).begin(), (c).end() typedef long long ll; typedef vector VI; typedef vector VL; typedef vector VVL; typedef vector VVI; typedef pair P; typedef pair PL; 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 calc(int i){ int l = -101, r = 101; while (r - l > 2){ int m1 = (r - l) / 2 + l; int m2 = m1 + 1; int d1, d2; if (i == 0){ d1 = ask(m1, 0, 0); d2 = ask(m2, 0, 0); }else if (i == 1){ d1 = ask(0, m1, 0); d2 = ask(0, m2, 0); }else{ d1 = ask(0, 0, m1); d2 = ask(0, 0, m2); } if (d1 < d2) r = m2; else l = m1; } return l + 1; } int main() { answer(calc(0), calc(1), calc(2)); return 0; }