You are confined in a room and given two metal rods. Out of these two rods, one is magnet and the other is the iron rod. They look starkly similar. You don't have any other metal object in the room.
You have $100 with you and you have to buy 100 balls with it. 100 is the exact figure and you can't go below or above the numbers and you have to use the entire $100. If there is no kind of tax applied how many of each of the following balls will you be able to buy:
Green Balls costing $6
Yellow Balls costing $3
Black Balls costing $0.10
Now, how many of each must you buy to fulfil the condition given?