#include int main() { int x;std::cin >> x; std::cout << 1-x << std::endl; return 0; }