fork download
  1. #include <bits/stdc++.h>
  2. #define FOR(i, a, b) for(int i = (a), _b = (b); i <= _b; i++)
  3. #define fi first
  4. #define se second
  5. #define sz(a) (int)a.size()
  6. #define pb push_back
  7. #define el "\n"
  8.  
  9. using namespace std;
  10. const int N = (int)1e6+3;
  11. typedef long long ll;
  12. int x;
  13.  
  14. int main()
  15. {
  16. ios_base::sync_with_stdio(false);
  17. cin.tie(NULL); cout.tie(NULL);
  18. freopen("watermelon.inp", "r", stdin);
  19. freopen("watermelon.out", "w", stdout);
  20. cin >> x;
  21. if ((x&1) || (x == 2)) cout << "YES";
  22. else cout << "NO";
  23. return 0;
  24. }
  25.  
Success #stdin #stdout 0s 5328KB
stdin
Standard input is empty
stdout
Standard output is empty