#include <stdio.h>

int main() {
    int input = 0;
    int positive = 0;
    int negative = 0;
    for(int i = 1;i<11;i++){
    scanf("%d",&input);
    if(input<0){
        negative++;
    }
    if(input>0){
        positive++;
    }
    }
   
    printf("positive:%d\n", positive);
    printf("negative:%d\n", negative); 
    
    
        
    
    return 0;
}