fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int r,g,b;
  7. cin >> r >> g >> b;
  8. int x = (((r*10)+g)*10)+b ;
  9. if (x%4==0)
  10. cout << "Yes";
  11. else
  12. cout << "No";
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5304KB
stdin
Standard input is empty
stdout
No