#include using namespace std; int main(){ bool x; cin >> x; cout << (x ? 0 : 1) << endl; }