Posted this over on Tumblr earlier, figured I'd share over here for those who got out of that cesspool. :]
---
You are trapped in a 2-room prison. In the first room is a machine that can dispense any amount of any piece of legal US currency from a penny up to a $100 bill.
You can take up to 30 pieces of currency with you, but you can take less if you want. You must take at least 1 piece of each type. Once you have the currency you want to take, you must go to the next room; the door between the two will lock behind you.
In the second room is a lockbox with the key to the exit inside it and a coin slot / bill receptor on its side. When you enter the room, the lockbox will be randomly assigned a price anywhere from $0.01 all the way up to $1000.00.
You MUST have exact change for whatever price is given in order to open it, get the key, and escape.
What must you take from the first room to ensure you will be able to escape, no matter what the randomly-assigned price is?