while 1:c=raw_input().count;print'*'.rjust(40*sum(map(c,'aeiouAEIOU'))/(c('')+~c(' ')))