#include using namespace std; int main() { string s; int r=0,b=0,n=3; while(n--){ cin>>s; if(s[0]=='R')r++; else b++; } if(r>b)cout<<"RED"<