The Occidentalia bank issues coins with denominations of $1$ peso, $8$ pesos, $27$ pesos... and any amount that is a perfect cube ($n^3$) of pesos. Determine what is the least amount $k$ of coins needed to give $2017$ pesos. For that amount, find all the possible ways to give $2017$ pesos using exactly $k$ currency.