杂记Collected Writings
LedgerAI
账本
The rice shop at the market began with thirty dan of rice in stock. In the morning, fifty dan more were added; at noon, forty dan were sold; and by dusk, a customer brought in six dan by cart from the countryside. The shopkeeper takes up his counting rods to check carefully.
Question: How much rice is now in the shop?