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