import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int num; // 描述获取整数的变量
int count_pos = 0; // 描述记录正整数个数的变量
int count_neg = 0; // 描述记录负整数个数的变量
while(sc.hasNextInt()) {
num = sc.nextInt();
if(num >=0 ) {
count_pos ++;
} else {
count_neg ++;
}
}
System.out.println("positive:" + count_pos);
System.out.println("negative:" + count_neg);
}
}