#include using namespace std; int main(){ string s1,s2,s3; cin>>s1>>s2>>s3; cout<<((s1=="RED")+(s2=="RED")+(s3=="RED")>=2?"RED":"BLUE")<