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