#include <stdio.h>
int main(){
int a[10],m=0,n=0;
for(int i=0;i<10;i++){
scanf("%d",&a[i]);
if(a[i]>0) m++;
else n++;
}
printf("positive:%d\nnegative:%d",m,n);
}
int main(){
int a[10],m=0,n=0;
for(int i=0;i<10;i++){
scanf("%d",&a[i]);
if(a[i]>0) m++;
else n++;
}
printf("positive:%d\nnegative:%d",m,n);
}