r,b=0,0 for i in range(3): if input()=='RED': r+=1 else: b+=1 print('RED' if r>b else 'BLUE')