#include float fun(float x){if(x>0) return 1;else if(x==0) return 0;else return -1;}int main(){float x;scanf("%f",&x);printf("%f",fun(x));return 0;}