#include using namespace std; //0 => 1 and 1 => 0 int main() { int x; cin >> x; if(x == 0) { cout << "1" << endl; }else{ cout << "0" << endl; } }