Question:
John had a collection of local and foreign stamps. The ratio of the number of local stamps to the number of foreign stamps he had at first was 7 : 3. After giving away 46 foreign stamps, the ratio of the number of local stamps to the number of foreign stamps became 5 : 2. How many foreign stamps did John have in the end?