while True:
try:
num = int(input())
li = list(map(lambda x:int(x), input().split()))
except EOFError:
break
print(len(list(filter(lambda x:x<0, li))), end=" ")
postives = list(filter(lambda x:x>0, li))
print(round(sum(postives)/len(postives),1) if postives else 0.0)


京公网安备 11010502036488号