#include using namespace std; int n; int main() { cin >> n; cout << !n << endl; return 0; }