If I have an array of values and a target, how can I find out the least amount of multiples to get the least remaining. For example, my array of values: