X and Y had already been in partnership, with profits and losses divided equally between them. On 1 July 2018, Z joined as a partner and the three partners then shared profits and losses equally. On that date, the assets were revalued and a revaluation profit of $36000$ arose. What accounting entries were required to record the revaluation profit?
- Acredit X current account $18000$, credit Y current account $18000$
- Bcredit X current account $12000$, credit Y current account $12000$, credit Z current account $12000$
- Ccredit X capital account $18000$, credit Y capital account $18000$
- Dcredit X capital account $12000$, credit Y capital account $12000$, credit Z capital account $12000$