#include using namespace std; int main(){ int a,b,c,n; double t; while(cin>>n && n>0){ a = b = c = 0; for(int i=0;i> t; if(t<0) a++; else if (t>0) c++; else b++; } cout << a << ' ' << b << ' ' << c << endl; } return 0; }