import java.io.*;

public class Solution {
    public static void main(String[] args) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String x = r.readLine();
        String y = r.readLine();
        String z = r.readLine();
        int a = Integer.parseInt(x);
        int b = Integer.parseInt(y);
        int c = Integer.parseInt(z);
        int min = 0;
        int plus = 0;
        if (a > 0){
            plus++;}
        else if (a < 0 ){
            min++;}
        if (b>0){
            plus++;}
        else if (b<0){
            min++;}
        if (c > 0){

            plus++;}
        else if (c < 0 ){
            min++;}
        if (a>0&&b>0&&c>0)
            System.out.println("количество отрицательных чисел: 0");
        else
            System.out.println("количество положительных чисел: 0");
        System.out.println("количество отрицательных чисел:" + min);
        System.out.println("количество положительных чисел:" + plus);