At first, Jeremy had some money. He spent 16 of it on a dress and 34 of the remainder on a windbreaker. After that, his uncle gave him $230. The ratio of the total amount of money he had in the end to the amount of money he had at first was 7 : 6. How much money did Jeremy have at first?