Tom had 16 balls in his house and his friend gave him 1. How many balls does Tom have?