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