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