Alan and Bob have stolen a total of $10,000 from the bank, in the form of fifty $20 bills, forty $50 bills, and seventy $100 bills. How many ways are there to split the loot evenly between them? Express your answer as a coefficient of a generating function.

I'm having trouble solving this cause I am not sure how to fit all the conditions into a generating function.

Any tips?

Thanks