Tommy had 40 oranges to give to 3 groups of children.
- The first group ate 30% of the total oranges.
- The second group ate 7 of the total oranges.
- The third group ate 1/8 of the total oranges.
How many oranges were left?