while 1:s=raw_input();print"*".rjust(sum(c in'aeiouAEIOU'for c in s)*40/sum(c>' 'for c in s))