#include using namespace std; int main(){ int x; cin >> x; puts(x ? "0" : "1"); }