#define _GLIBCXX_DEBUG #define ll long long #include using namespace std; using Graph = vector>; void print(auto a){ cout << a; } void printL(auto a){ cout << a << endl; } void fix(int n){ cout << fixed << setprecision(n); } void NOT(int x){ if(x != 1) printL(1); else printL(0); } int main(){ int X; cin >> X; NOT(X); }