n = map(int, input().split())
pos = 0
neg = 0
for i in n:
    if i > 0:
        pos += 1
    else:
        neg += 1
print("positive:%d" % pos)
print("negative:%d" % neg)