A bag of buttons had 21 buttons in it. Seven buttons had two holes and the rest had four holes. How many holes were in all the buttons in the bag?
Please reason step by step, and put your final answer within \boxed{}.
user