#include<iostream> using namespace std; int main(){ int i; cin >> i; bool b = i; int j = b; cout << j << endl; return 0; }