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