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