package com.codegym.task.task04.task0429;

/*
Positive and negative numbers

*/

import java.io.*;
import java.util.Scanner;

public class Solution {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        int count = 0;
        int count0 = 0;
        for (int i = 0; i <= 2; i++){
            if (scanner.nextInt() > 0) {
                count++;
            }
            else if(scanner.nextInt() == 0) {
                count0++;
            }
        }
        System.out.println("Number of negative numbers: " + (3-count-count0));
        System.out.println("Number of positive numbers: " + count);
    }
}