import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
class WhyAmIHere {
public static void main(String... args) {
List<Character> targets = Arrays.asList(new Character[]{'a', 'e', 'i', 'o', 'u'});
Map<Character, Integer> counter = new HashMap<>();
StringBuilder sequence = new StringBuilder();
Random random = new Random();
for (int i = 0; i < 10; i++) {
char c = (char)(random.nextInt(26) + 97);
sequence.append(c);
if (targets.contains(c)) {
counter.put(c, counter.getOrDefault(c, 0) + 1);
}
}
System.err.println("sequence=" + sequence + ", counter=" + counter);
}
}