public class Solution {
    public static void main(String[] args) throws Exception {
        int countPos = 0;
        int countNeg = 0;
        for (int i = 0; i <= 2; i++){
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            int a = Integer.parseInt(reader.readLine());
            if (a > 0 && a != 0 ) {
                countPos = countPos+1;} else
                    if (a < 0 && a != 0) {
                            countNeg = countNeg + 1;}
        }
        System.out.println("количество отрицательных чисел: " + countNeg);
        System.out.println("количество положительных чисел:" + countPos);
    }
}