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