题解 | #记负均正#
记负均正
https://www.nowcoder.com/practice/6abde6ffcc354ea1a8333836bd6876b8
a = int(input())
b = list(map(int,input().split()))
c = []
d = []
for i in b:
if i > 0:
c.append(i)
elif i < 0:
d.append(i)
if len(c) != 0:
print(len(d),round(sum(c)/len(c),1))
elif len(c) == 0:
print(len(d),0.0)
