Problem 2. Dame and Jana decided to buy a collection of math problems for the fourth grade. Jana was short 160 denars, and Dame was short 40 denars. Therefore, they decided to combine their money and buy one collection. However, even with the combined money, they were short 20 denars to buy the collection. How much is the collection worth, and how much money did each of them have?
Solution. Dame was short of 40 denars, and after combining their money, they were short of 20 denars. Therefore, Jana had $40-20=20$ denars. Thus, the total amount is $160+20=180$ denars. Jana initially had 20 denars, and Dame had $180-40=140$ denars.