fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main(){
  4. ios_base::sync_with_stdio(false);
  5. cin.tie(NULL);
  6. int n;
  7. cin >> n;
  8. if(n % 2 == 0){
  9. if((n/2) % 2== 0){
  10. cout << "SI";
  11. }else{
  12. cout << "NO";
  13. }
  14. }else{
  15. cout << "NO";
  16. }
  17. }
Success #stdin #stdout 0s 5320KB
stdin
6
stdout
NO