At first, Seth had some money. He spent 13 of it on a vest and 23 of the remainder on a jumpsuit. After that, his aunt gave him $320. The ratio of the total amount of money he had in the end to the amount of money he had at first was 4 : 3. How much money did Seth have at first?