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