#include using namespace std; int main(){ bool f; cin >> f; cout << !f << endl; }