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