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