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