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