There are 300 apples and peaches for sale at a farmer's market. The ratio of the number of apples to the number of peaches is 7 : 8. If 50 apples and 40 peaches are sold, what is the ratio of the remaining apples to peaches?