We have the following:
The apples that John has left would be the difference between the ones he initially had minus the ones that Sam took
[tex]84-22=62[/tex]To calculate the percentage that Sam took, we must divide the amount that Sam took and the total amount, that is, those that John had initially, then multiply by 100 so that it is a percentage.
[tex]\frac{22}{84}\cdot100=26.19[/tex]Therefore, the percentage is 26.19%