Aubrey and her children went into a restaurant where they sell hotdogs for $3 each and tacos for $2 each. Aubrey has $40 to spend and must buy at least 15 hotdogs and tacos altogether. If Aubrey decided to buy 12 tacos, determine the maximum number of hotdogs that she could buy.