r = 0 b = 0 for i in range(3): s = str(input()) if s == 'RED': r += 1 else: b += 1 if b > r: print('BLUE') else: print('RED')