# No.516 赤と青の風船 s = [input() for i in range(3)] if s.count('BLUE') >= 2: print('BLUE') else: print('RED')