import sys som = 0.0 cpt = 0 while 1: n = input("") n = int(n) if n >= 0: som = som + n cpt = cpt + 1 else: break print ('%.2f' % (som / cpt))