#include using namespace std; typedef unsigned long long ull; typedef long long ll; int main(){ int x; cin >> x; cout << 1-x << endl; return 0; }