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