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