#include using namespace std; int main() { int x; cin >> x; printf("%d", (x==0)?1:0); return 0; }