#include using namespace std; int main() { int x; cin >> x; cout << (x > 0 ? 1 : (x < 0 ? -1 : 0)) << endl; return 0; }