I have a bunch of cash notes [5, 10, 20, 50, 100, 500] given a value x, find the least possible notes that sum to that value, and then return the o
[5, 10, 20, 50, 100, 500]
x