public class Solution {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
int otrizat = 0;
int poloshit = 0;
if (a > 0)
poloshit++;
if (a < 0)
otrizat++;
if (b > 0)
poloshit++;
if (b < 0)
otrizat++;
if (c > 0)
poloshit++;
if (c < 0)
otrizat++;
package com.javarush.task.task04.task0429;
/*
Положительные и отрицательные числа
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
int otrizat = 0;
int poloshit = 0;
if (a > 0)
poloshit++;
if (a < 0)
otrizat++;
if (b > 0)
poloshit++;
if (b < 0)
otrizat++;
if (c > 0)
poloshit++;
if (c < 0)
otrizat++;
System.out.println("количество отрицательных чисел: " + poloshit);
System.out.println("количество положительных чисел: " + otrizat);
}
}