fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x;
  6. string s;
  7. cin >> x >> s;
  8. if (x >= 3200) cout << s << endl;
  9. else cout << "red" << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5316KB
stdin
3200
pink
stdout
pink