Answer: There are 152 apples.
The explanation is shown below:
- You need to write the following three equations, where
is the the number of apples,
is the number of pears and
is the number of oranges:
1)

2)

3)

- You must substitute the equation 3) into the equation 2):

- Now, you need to solve for
in the equation 1) and then you must substitute it into
:


- Solve for
, as following:

- Therefore, there are 152 apples.