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