a = list(map(int,input().split()))
p = list(i for i in a if i > 0)
n = list(i for i in a if i < 0)
print("positive:" + str(len(p)))
print("negative:" + str(len(n)))
l=list(map(int,input().split(' ')))# 将输入转化为列表 a=0 b=0 for i in l:# 定义i if i>=0: a+=1# 代表正数个数 else: b+=1 print("positive:{}".format(a))# 这样输出的格式就是正确的,print("positive:",a)输出格式带有空格 print("negative:{}".format(b))