#include using namespace std; typedef long long ll; int main() { int X; scanf("%d", &X); cout << !X << endl; return 0; }