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