for(;r=readline();)print(Array(~-r.match(/[aeiou]|$/gi).length/r.match(/\w/g).length*40|0).join(' ')+'*')