#include <stdio.h>

int main() {
    int z = 0;
    int f = 0;
    int s = 1;
    while (scanf("%d", &s) != EOF) {
        if (s > 0) {
            z++;
        }
        else if (s < 0) {
            f++;
        }
    }
    printf("positive:%d\n", z);
    printf("negative:%d", f);
    return 0;
}