A vending machine randomly dispenses four different types of fruit candy. There are twice as many apple candies as orange candies, twice as many strawberry candies as grape candies, and twice as many apple candies as strawberry candies. If each candy cost $0.5, and there are exactly 90 candies, what is the minimum amount of money required to guarantee that you would buy at least three of each type of candy?  Choose the correct choice from the following answers.
A) $3.00 B) $20.75 C) $22.50 D) $41.50 E) $45.00
Let number of Apple , Orange , strawberry and grape candies be A, O ,S and G respectively .   A= 2O   S= 2G   A= 2S   A= 4G   A+O+S+G = 90   =&gt;A + A/2 + A/2 +A/4 = 90   =&gt; 9A/4 = 90   =&gt; A = 40   O = 20   S = 20   G = 10   Cost of each candy = .5 $   Mininum amount of money required to guarantee that you would buy at least three of each type of candy   We can buy 40 Apple candies , 20 orange candies , 20 strawberry candies and 3 grape candies to ensure atleast 3 of each type of candies .   Total = 83 candies   Amount required = 83 * .5= 
<gadget id="calculator">83 * .5</gadget>
<output>41.5</output>
41.50 $   Answer $41.50
<result>D</result>
A vending machine randomly dispenses four different types of fruit candy. There are twice as many apple candies as orange candies, twice as many strawberry candies as grape candies, and twice as many apple candies as strawberry candies. If each candy cost $0.5, and there are exactly 90 candies, what is the minimum amount of money required to guarantee that you would buy at least three of each type of candy?