#include <iostream>
using namespace std;
int main()
{
int w;
while (cin>>w) {
cout<<(w>0)-(w<0);
}
return 0;