1 2 3 4 5 6 7 8 9 10
#include <iostream> using namespace std; int main() { int n; cin >> n; bool isEven = n % 2 == 0; cout << isEven; }