XYZ Corporation's general ledger had initial account balances of $8,000 in Contributed Surplus, $270,000 in Common Shares, and $85,000 in Retained Earnings. The company then bought back and cancelled shares worth $16,000 and $6,600, sold shares generating $127,100 and $65,800, and bought back and cancelled another $50,000 worth of shares.