def f(s,n=3): g,t = lambda : s == input() and 1 or 0,0 for _ in range(n): t += g() return t>n&1 print(f("RED") and "RED" or "BLUE")