#include using namespace std; int main(){ cin.tie(0); ios::sync_with_stdio(false); int x; cin >> x; cout << ((x==0) ? 1 : 0) << "\n"; return 0; }