baloons = [] 3.times do baloons << gets.chomp end puts baloons.count("RED") >= 2 ? "RED" : "BLUE"