COMC 2020 A Problem 1

At a party, if each kid took one apple from the fruit bucket then 7 apples would still remain in the bucket. However, if each kid had an appetite for two apples, the supply would be 16 apples short. How many kids were at the party?