/run ruby
points=0
DICE=['う','お','こ','ま','ち']
10.times do |m|
res=""
points=0
5.times do |n|
res += DICE.sample
end
points += 1000 if res.includes('うんち')
points += 1000 if res.includes('うんこ')
points += 1000 if res.includes('まんこ')
points += 5000 if res.includes('おまんこ')
points += 1000 if res.includes('ちんこ')
points += 3000 if res.includes('ちんちん')
points += 10000 if res.includes('おちんちん')
if points > 0
puts points, res
end
end