void main() {
    ArrayList<Integer> scores = new ArrayList<>(List.of(88, 92, 79));

    scores.add(95);
    IO.println(scores);

    Collections.sort(scores);
    IO.println(scores);

    int highest = scores.remove(scores.size() - 1);
    IO.println(highest + " " + scores);
}

// From Groundwork, chapter 7 (ch07-arrays-and-lists), box 14.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch07_14.java
