#include using namespace std; int main(){ int x; if(cin >> x) cout << 0 << endl; else cout << 1 << endl; }