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