Coin Machine

The result will have the biggest possible denominations.