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