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