#include #include using namespace std; int main(){ int a;scanf("%d",&a); printf("%d\n",!a); }