#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int n;
  cin >> n;
  pair<long long int, long long int> coordinate1[n];
  pair<long long int, long long int> coordinate2[n];
  for (long long int i = 0; i < n; i++) {
    cin >> coordinate1[i].first >> coordinate1[i].second;
  }
  for (long long int i = 0; i < n; i++) {
    cin >> coordinate2[i].first >> coordinate2[i].second;
  }
  pair<long long int, long long int> result;
  result.first = 0;
  result.second = 0;
  for (long long int i = 0; i < n; i++) {
    result.first += coordinate1[i].first;
    result.first += coordinate2[i].first;
    result.second += coordinate1[i].second;
    result.second += coordinate2[i].second;
  }
  result.first = result.first / n;
  result.second = result.second / n;
  cout << result.first << " " << result.second;
  return 0;
}
