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