Solve a problem related to the final accounts of non-trading accounts.