//https://ncode.syosetu.com/n4830bu/272/ #include using namespace std; int main() { int x; cin >> x; cout << !x << endl; }