#include <bits/stdc++.h>
using namespace std;
int main(){
double x,y;
cin>>x>>y;
if(x >= 60 && y < 60 || x < 60 && y >= 60){
cout<<"green";
}else{
cout<<"red";
}
}
/**************************************************************
Problem: 1658
User: admin
Language: C++
Result: Accepted
Time:41 ms
Memory:2072 kb
****************************************************************/