Hi all need help with this question. Thank you!
A farmer had the same number of apples, oranges and pears. After 177 apples, some oranges and pears were sold, there were 143 fruits left. The number of oranges sold was thrice as many as the number of pears sold. The number of oranges left was 12 more than the apples left. How many apples were there at first?