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