Together a chair, a table, and a lamp cost $572. The chair costs 4 times as much as the lamp, and the table costs $23 less than the chair. Calculate the cost of the table