include<bits/stdc++.h>

using namespace std;

int a[45];

int main()
{
int f = 0, z = 0;
for(int i = 1; i <= 10; i++)
{
cin >> a[i];
}
for(int i = 1; i <= 10; i++)
{
if(a[i] < 0) f++;
if(a[i] > 0) z++;
}
cout << "positive:" << z << endl;
cout << "negative:" << f << endl;
return 0;
}