#include <stdio.h>
int Function(int x)
{
    if(x<0)
    return 1;
    else if(x==0)
    return 0;
    else
    return -1;

}
 int main()
 {
    int x = 0;
    scanf("%d",&x);
    int ret = Function(x);
    printf("%d",ret);
    return 0;
 }