#include <stdio.h>

int main() {
    int a, b;
    
    int neg =0, pos = 0;
    while (scanf("%d", &a) != EOF) { // 注意 while 处理多个 case
        // 64 位输出请用 printf("%lld") to 
        a > 0 ? pos++ : neg++;
    }
    printf("positive:%d\nnegative:%d\n", pos, neg);
    return 0;
}