#include <algorithm> #include <cstdio> #include <iostream> #include <map> #include <cmath> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> #include <stdlib.h> #include <stdio.h> #include <bitset> using namespace std; #define FOR(I,A,B) for(int I = (A); I < (B); ++I) typedef long long ll; int main(){ map<string,int> m; FOR(i,0,3){ string s; cin >> s; m[s]++; } cout << (m["RED"] >= 2 ? "RED" : "BLUE") << endl; return 0; }