#include<iostream>
using namespace std;
signed main(){
int x, counterPositive = 0, counterNegative = 0;
for (int i = 0; i < 5; i++){
cin >> x;
if (x > 0)
counterPositive++;
else if (x < 0)
counterNegative++;
}
cout << "Положительных чисел: " << counterPositive << endl;
cout << "Отрицательных чисел: " << counterNegative << endl;
return 0;
#include<iostream>
using namespace std;
signed main(){
int x, counterPositive = 0, counterNegative = 0;
for (int i = 0; i < 5; i++){
cin >> x;
if (x > 0)
counterPositive++;
else if (x < 0)
counterNegative++;
}
cout << "Положительных чисел: " << counterPositive << endl;
cout << "Отрицательных чисел: " << counterNegative << endl;
return 0;
}