color = 3.times.map { gets.chomp } if color.count('RED') < color.count('BLUE') puts 'BULE' else puts 'RED' end