#include <fstream>
#include <iomanip>
#include <iostream>
#include <utility>
#include <vector>
using namespace std;

int main () {
    auto fin = ifstream ("input.txt");
    auto fout = ofstream ("output.txt");
    int n;
    fin >> n;
    vector <pair <int, int> > points (n);
    for (auto &[x, y] : points) // C++17
        fin >> x >> y;
    pair <double, double> center = {0, 0};
    for (auto &[x, y] : points) { // C++17
        center.first += x;
        center.second += y;
    }
    fout << setprecision (10) << fixed;
    fout << center.first / n << " " <<
            center.second / n << endl;
    return 0;
}
