#include int main(void){ int X; scanf("%d", &X); if(X == 0) printf("1\n"); if(X == 1) printf("0\n"); return 0; }