//No.516 赤と青の風船 #include using namespace std; namespace { int iB; int iR; void Chk( char *S ) { if( S[ 0 ] == 'B' ) iB++; if( S[ 0 ] == 'R' ) iR++; } } int main() { char S[ 20 ]; char T[ 20 ]; char U[ 20 ]; cin >> S; cin >> T; cin >> U; iB = 0; iR = 0; Chk( S ); Chk( T ); Chk( U ); if( iB > iR ) cout << "BLUE" << endl; else cout << "RED" << endl; return 0; }