#include <stdio.h>

int main() {
    int a[10] = {0};
    int positive=0;
    int negative=0;
    for (int i = 0; i < 10; i++) {
        scanf("%d", &a[i]);
    }
    for (int i = 0; i < 10; i++) {
        if (a[i] > 0) {
            positive++;
        }
        else {
            negative++;
        }
    }
    printf("positive:%d\nnegative:%d",positive,negative);
}