A pie shop bakes a certain amount of pies each week. 150 of those pies are apple pies. These apple pies makes up 40 percent of the total pies. How many pies does the shop make each week?