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