Intercompany Transactions F10-16b

What is the accounting entry to eliminate profit/loss in beginning inventory?

DR: Retained Earnings

CR: Inventory  – Beginning (I/S)