Teresa has made 124 bags of treats. Each person was able to take 2 bags home. If there were 40 people, how many extra bags were left?