#include int main() { int i; std::cin >> i; std::cout << (i == 1 ? 0 : 1) << std::endl; return 0; }