s = [ input() for _ in range(3)] print('RED') if s.count('RED') >= 2 else print('BLUE')