a=int(input()) b=input().split(' ') b=list(map(int,b)) c=[] d=0 for i in range(a): if b[i]>0: c.append(b[i]) elif b[i]<0: d=d+1 if c==[]: print(d,0.0) else: print(d,round(sum(c)/len(...