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