8384858687888990919293
int a = 0; for (String word : words) { Assignment assignment = assignments.get(a++); System.out.printf("%s ", word); for (int i : assignment.assignments()) System.out.printf("%d ", i); System.out.println(); } } }