#include using namespace std; int main() { int n; cin >> n; bool isEven = n % 2 == 0; cout << isEven; }