PT Prob_2.3: Making Goody Bags

You are making goody bags for a Halloween Party.[br][br]Given the total number of each type of candy, the goal is to create the [b]greatest[/b] possible number of goody bags. Each goody bag needs to have the same contents. [br][br]Change the number of groups of Reese's and Kisses by typing the number of groups you want into the input boxes. To make goody bags, the Reese's and the Kisses must be divided into the same number of groups!!![br][br]You can also change the scenario by changing the total number of each type of candy.

Information: PT Prob_2.3: Making Goody Bags