s=gets.chomp.chars.to_a max=0;c=0 str="";tstr="" ans=[] s.each{|e| if e=="w" c+=1 if max