#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios::sync_with_stdio(false);
  long long n;
  cin >> n;
  long long x = 0, y = 0;
  for (long long i = 0; i <= n - 1; ++i) {
    long long xx, yy;
    cin >> xx >> yy;
    x += xx;
    y += yy;
  }
  for (long long i = 0; i <= n - 1; ++i) {
    long long xx, yy;
    cin >> xx >> yy;
    x += xx, y += yy;
  }
  cout << x / n << " " << y / n << endl;
  return 0;
}
