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

int main () {

    
    int n;
    cin >> n;
    vector <pair <int, int> > points (n);
    for (auto & p : points)
        cin >> p.first >> p.second;
    pair <double, double> center = {0, 0};
    for (auto & p : points) {
        center.first += p.first;
        center.second += p.second;
    }
    cout << setprecision (10) << fixed;
    cout << center.first / n << " " <<
            center.second / n << endl;
    return 0;
}
