if Tom had 78 apples and he gave to the shop for 80% and he put it on sale for another 10% what many apples would Tom get in the end?