The ratio of the number of pears to the number of apples in the basket was 3 : 5 After Sean ate 2 apples, there were still 2 more apples than pears. How many pears were there in the basket?