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