#include using namespace std; typedef complex C; uint64_t xorshift() { static uint64_t x = time(NULL); x ^= x << 13; x ^= x >> 7; x ^= x << 17; return x; } int main() { cin.tie(0); ios::sync_with_stdio(false); int n; cin >> n; vector ps(n); for (int i = 0; i < n; i++) { int x, y; cin >> x >> y; ps[i] = C(x, y); } vector a; vector b; for (int i = 0; i < 3; i++) { int x = xorshift() % 20001 - 10000; int y = xorshift() % 20001 - 10000; cout << "? "; cout << x << " "; cout << y << endl; a.emplace_back(x, y); int xx, yy; cin >> xx >> yy; b.emplace_back(xx, yy); } C A = (b[1] - b[0]) / (a[1] - a[0]); C B = b[0] - a[0] * A; cout << "!" << endl; for (int i = 0; i < n; i++) { C ans = ps[i] * A + B; cout << (int)round(ans.real()) << " "; cout << (int)round(ans.imag()) << endl; } }