A man went into a bank with exactly $1000, all in dollar bills. He gave
the money to a cashier and said, "Put this money into ten bags in such a
way that if I call and ask for a certain number of dollars, you can hand me one
or more bags, giving me the exact amount called for, without having to open any
of the bags." How was the cashier able to do this?