import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int positive=0; int negative=0; for(int i=1;i<=10;i++){ int number=in.nextInt(); if(number>0){ positive++; }else{ negative++; } } System.out.println("positive:"+positive); System.out.println("negative:"+negative); } }