#include <stdio.h>

int main() {
    int num, positive = 0, negative = 0, n = 10;
    while (n--) {
        scanf("%d", &num);
        if (num >= 0)
            positive++;
        else
            negative++;
    }
    printf("positive:%d\nnegative:%d", positive, negative);
    return 0;
}