a, b, c = input(), input(), input() blue_count = [a, b, c].count('BLUE') print('BLUE' if blue_count >= 2 else 'RED')