fork download
  1. #include <iostream>
  2. #include <iomanip>
  3. #include <cmath>
  4. #include <algorithm>
  5. #include <numeric>
  6. #include <string>
  7. #include <vector>
  8. #include <deque>
  9. #include <queue>
  10. #define ll long long
  11. const int N = 10e5 + 5 ;
  12. const double pi = 3.14;
  13. using namespace std;
  14. int main()
  15. {
  16. string s;
  17. cin >> s ;
  18. if(s[0] % 2 == 0 )
  19. cout << "EVEN" <<'\n';
  20. else
  21. cout << "ODD" << '\n';
  22. return 0;
  23. }
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
Success #stdin #stdout 0.01s 5436KB
stdin
Standard input is empty
stdout
EVEN