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