fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n;
  6. cin >> n;
  7. cout << (n % 2 == 0 ? "EVEN" : "ODD"); //проверяем на четность
  8. return 0;
  9. }
Success #stdin #stdout 0s 15232KB
stdin
1000000000
stdout
EVEN