package no342; import java.util.ArrayList; import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static final char kusa = 'w'; public static void main(String[] args) { Scanner sc = new Scanner(System.in); Pattern p = Pattern.compile("[^w]+w*"); Matcher m = p.matcher(sc.nextLine()); int max = 0; ArrayList ans = new ArrayList<>(); while(m.find()) { String s = m.group(); int count = 0; for(int i=0;i