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