color = [0, 0] for i in range(0, 3): if raw_input() == 'RED': color[0] += 1 else: color[1] += 1 if color[0] > color[1]: print 'RED' else: print 'BLUE'