import sys
input=lambda: sys.stdin.readline().rstrip()
r=0
for _ in range(3):
  if input()=="RED":
    r+=1
if r>=2:
  print("RED")
else:
  print("BLUE")