#include using namespace std; int main() { int x; cin >> x; cout << 1 - x << endl; }