#include <stdio.h>
int f(int x)
{
if(x>0)
return -1;
else if(x==0)
return 0;
else
return 1;
}
int main() {
int x=0;
while(scanf("%d",&x)!=EOF)
{
int y=f(x);
printf("%d",y);
}
return 0;
}

#include <stdio.h>
int f(int x)
{
if(x>0)
return -1;
else if(x==0)
return 0;
else
return 1;
}
int main() {
int x=0;
while(scanf("%d",&x)!=EOF)
{
int y=f(x);
printf("%d",y);
}
return 0;
}