题解 | #记负均正#
记负均正
http://www.nowcoder.com/practice/6abde6ffcc354ea1a8333836bd6876b8
while True:
try:
n = int(input())
num_list = list(map(int, input().split()))
a, b = [], []
for i in num_list:
if i > 0:
a.append(i)
elif i < 0:
b.append(i)
print(len(b), round(sum(a) / len(a), 1))
except:
break