Terrance Scott deposited a check for $299.45 and a check for $229.52. He received $42.00 in cash. What was his total deposit?