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