The input contains between 1 and 10 lines, *i*-th line contains an integer number *x*<sub class="lower-index">*i*</sub> (0 ≤ *x*<sub class="lower-index">*i*</sub> ≤ 9).
#!/usr/bin/env python3

tux = input()

foo = 0
bar = 0
baz = 0
quz = 1

tux = int(tux)

while tux > 0:
    pur = input()
    pur = int(pur)

    foo = foo + pur
    bar = bar + 1

    if max(foo * quz, bar * baz) == foo * quz:
        baz = foo
        quz = bar

    tux -= 1

print(baz / quz)