 
 
#include <iostream>
#include <utility>
#include <vector>


int main () {

    
    int n;
    std::cin >> n;
    std::vector <std::pair <int, int> > points (n);
    for (auto & p : points)
        std::cin >> p.first >> p.second;
    std::pair <double, double> 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;
}
