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