Katie had a pack of 20 cards numbered from 1 to 20.

20 cards numbered from 1 to 20.

She arranged the cards into 6 unequal piles.

The numbers on the cards in each pile added to the same total.

What was the total and how could this be done?