#include #include #include #include #include using namespace std; int main () { auto fin = ifstream ("input.txt"); auto fout = ofstream ("output.txt"); int n; fin >> n; vector > points (n); for (auto & p : points) fin >> p.first >> p.second; pair center = {0, 0}; for (auto & p : points) { center.first += p.first; center.second += p.second; } fout << setprecision (10) << fixed; fout << center.first / n << " " << center.second / n << endl; return 0; }