#include #include #include using namespace std; int main () { int n; cin >> n; vector > points (n); for (auto & p : points) cin >> p.first >> p.second; pair center = {0, 0}; for (auto & p : points) { center.first += p.first; center.second += p.second; } cout << center.first / n << " " << center.second / n << endl; return 0; }