#获取全部输入b
try:
b = []
while True:
a = input()
if a=='': #无输入break
break
b.append(a)
except:
pass
c = list(map(int,b))
r1 = 0 #负数个数
d = [] #非负数数组
for i in c:
if i < 0:
r1 += 1
else:
d.append(i)
print(r1)
if r1 == len(c):
print(format(0,'.1f'))
else:
print(format(sum(d)/len(d),'.1f'))