I have the following homework, for which I'd like you to give me some hints. Thank you.
There are M food dishes and N bottles of different wines. There are 4 ways to pair food and wine: 1 (dish) to 1 (type of wine), 1 to many, many to 1, and many to many. A menu must use all M dishes and N wine bottles. How many possible menus can one make?