Read a count and that many numbers. Using streams, print three lines:
- the distinct values in increasing order, as a list
- how many values are even
- every value squared, as a list in the original order
For 6 then 5 3 5 9 1 3:
[1, 3, 5, 9]
0
[25, 9, 25, 81, 1, 9]
Each line is a single chain: distinct/sorted/collect, filter/count, map/collect.