#include #define endl '\n' #define MAXN 100000 using namespace std; int main() { bool x; cin >> x; cout << (int)(!x) << endl; return 0; }