#include <math.h>
#include <iostream>
#include <vector>
#include <string>
#include <sstream>
usingnamespace std;
int main(){
double num = 0;
string input;
getline (cin, input);
istringstream iss (input);
double a;
double i = 0;
while (iss >> num)
{
//TODO do sth. with num here.
i ++;
a = (a+num);
}
a = a/i;
cout << a << endl;
fflush(stdin);
}