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