#include using namespace std; int main(){ int n; cin >> n; n = n ? 0 : 1; cout << n << endl; }