#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  double ans = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    double x, y;
    cin >> x >> y;
    ans += y;
  }
  cout << 5 + ans / n;
}
