A baker prepares two types of cakes for an event: small cakes that serve people each and large cakes that serve people each. The baker needs to prepare enough cakes to serve a total of people. If the baker prepares small cakes, how many large cakes must the baker prepare to serve exactly people?