#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int red = 0, blue = 0; for (int i = 0; i < 3; i++) { string s; cin >> s; if (s == "RED") red++; if (s == "BLUE") blue++; } if (red > blue) cout << "RED" << '\n'; if (blue > red) cout << "BLUE" << '\n'; return 0; }