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