#include<stdio.h>
int main()
{
    int a,p=0,n=0,i;
    while(scanf("%d",&a)!=EOF)
    {
        if(a>0)
        p++;
        else
            n++;
    }
    printf("positive:%d\nnegative:%d",p,n);
    return 0;
}