#include <complex>
#include <iostream>
#include <vector>
using namespace std;
using Point = complex <double>;
int main () {
    int n;
    cin >> n;
    vector <Point> p (n);
    auto center = Point (0, 0);
    for (int i = 0; i < n; i++) {
        double x, y;
        cin >> x >> y;
        p[i].real (x);
        p[i].imag (y);
        center += p[i];
    }
    center /= n;
    cout << center.real () << " " << center.imag () << endl;
    return 0;
}
