#include <stdio.h>

int main() {
    int arr[10] = { 0 }, i = 0, po = 0, ne = 0;
    for (i = 0; i < 10; i++) {
        scanf("%d", &arr[i]);

        if (arr[i] > 0)
            po++;
        if (arr[i] < 0)
            ne++;
    }
    printf("positive:%d\n", po);
    printf("negative:%d", ne);

    return 0;
}