#include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<int> t;
int cnt = 0;
for ( ; ; cnt++) {
int ten;
cin >> ten;
if (ten == 999)
break;
t.resize(cnt+1);
t[cnt] = ten;
}
int sum = 0;
for (int i=0; i<cnt; i++)
sum += t[i];
if (cnt != 0) {
double avg = (double)sum / cnt;
cout << avg << endl;
}
else
cout << "No \'ten\'s in t." << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CiAgICB2ZWN0b3I8aW50PiB0OwoKICAgIGludCBjbnQgPSAwOwogICAgZm9yICggOyA7IGNudCsrKSB7CiAgICAgICAgaW50IHRlbjsKICAgICAgICBjaW4gPj4gdGVuOwoKICAgICAgICBpZiAodGVuID09IDk5OSkKICAgICAgICAgICAgYnJlYWs7CgogICAgICAgIHQucmVzaXplKGNudCsxKTsKICAgICAgICB0W2NudF0gPSB0ZW47CiAgICB9CgogICAgaW50IHN1bSA9IDA7CiAgICBmb3IgKGludCBpPTA7IGk8Y250OyBpKyspCiAgICAgICAgc3VtICs9IHRbaV07CgogICAgaWYgKGNudCAhPSAwKSB7CiAgICAgICAgZG91YmxlIGF2ZyA9IChkb3VibGUpc3VtIC8gY250OwogICAgICAgIGNvdXQgPDwgYXZnIDw8IGVuZGw7CiAgICB9CiAgICBlbHNlCiAgICAgICAgY291dCA8PCAiTm8gXCd0ZW5cJ3MgaW4gdC4iIDw8IGVuZGw7CgogICAgcmV0dXJuIDA7Cn0K