You have $11$ bags which you can load with money. In the first bag, there's \$$1$(cannot be changed), and you will be asked to load these bags with money I want between $1-2000$ (Which is like $1447$, $1550$, $27$ or anything other, so it doesn't matter.) Note that the total sum of the money you load will be equal to $2000$ and you need to fill each bags.
The thing made me confused is can we give every money he wants? For example, I'll pick a random value, which is $1447$.
$$1 / 2 / 3 / 4 / 5 / 10 / 25 / 50 / 100/800/1000 = \$2000$$ I could try giving him
$$ 1000 + 100 + 50 + 25 + 10 + 5 + 4 + 2 + 1 \neq \$1447 $$
Which is not equal to the value I selected.
As you can see, I couldn't be able to give that money. This question should have an easy solution I'm missing! Can you take a look since you are advanced?
My Kindest Regards!
There is no need to put \$3 in the third bag. If you are asked for exactly \$3, you could hand over the first two bags. Thus you could put \$4 in the third bag. Similarly, with bags containing \$1, \$2, and \$4 you can obtain any dollar amount between \$1 and \$7. So the fourth bag should contain \$8.
Proceed in this manner, and the dollar amounts in the first 10 bags will be $$ \$ 1 , \$2, \$4, \$8, \$16, \$32, \$64, \$128, \$256, \$512.$$
You can use these bags to make any dollar amount between \$1 and \$1023.
Now place the remaining \$977 into the eleventh bag. You can make any dollar amount between \$977 and \$2000 using the eleventh bag and an appropriate selection of bags between 1 and 10.