fork download
  1. #include <bits/stdc++.h> // header file includes every Standard library
  2. using namespace std;
  3.  
  4. int main() {
  5. int a,b,c;
  6. cin>>a>>b>>c;
  7. if(a+b>0 && (a+b) & 1 ==0 ) cout<<"YES";
  8. else if(c+b>0 && (c+b) & 1 ==0) cout<<"YES";
  9. else if(a+c>0 && (a+c) & 1 ==0) cout<<"YES";
  10. else cout<<"NO";
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5436KB
stdin
23 32 12
stdout
NO