Vince helped the pep club make sandwiches to raise money. He put two sandwiches in each of 30 bags and 5 sandwiches in 26 family bags, and he has 17 sandwiches left over. How many sandwiches did they start with?