l = [input() for _ in range(3)] x = l.count('BLUE') y = l.count('RED') print(['BLUE', 'RED'][x < y])