The Waller Company uses the accrual basis of accounting. Waller Company's wages expense account had a $510,000 balance at the end of the year. The wages payable account had a $23,000 balance at the beginning of the year and a $45,000 balance at the end of the year. How much cash was paid for wages during the year?