#include using namespace std; signed main(){ string s,u,t;cin>>s>>u>>t; map m; m[s]++;m[u]++;m[t]++; cout<<(m["RED"]>m["BLUE"]?"RED":"BLUE")<