Step 1: with reduce, compute totalWins, the sum of every fighter's wins, and print "Total wins: N".
Step 2: print "Average wins: X", the total divided by the number of fighters.
Step 3: print "Everyone won once: X" where X says whether every fighter has at least 1 win, and "Someone is undefeated: X" where X says whether at least one has 0 losses.
Step 4: build ranked, a copy sorted by wins from highest to lowest, and print one line per fighter as "N. name (W wins)", numbered from 1. The original roster must keep its order, so print its first name at the end as "Roster first: X".