#include <bits/stdc++.h>
using namespace std;
int n;
double s, x, y;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> x >> y;
    s += y;
  }
  printf("%.3lf", s / n + 5);
  return 0;
}
