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