#include<iostream>
using namespace std;
int main() {
//不断的输入整数,求大于0,小0 的个数 遇见0截止
int n;
int i = 0,j=0;
while (cin >> n && n != 0) {
if (n > 0)
i += 1;
else
j += 1;
}
cout << "大于0的数一共:" << i << endl;
cout << "小于0的数一共:" << j << endl;
}