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