#include using namespace std; int main(int argc, char **argv) { int a; scanf("%d", &a); printf("%d\n", a == 0 ? 1 : 0); return 0; }