Masha bought red, green, and yellow balloons for a party. She bought 40 red balloons. The number of green balloons Masha 3 bought is of the number of red balloons. The number of green 5
balloons is also 2 3 of the number of yellow balloons.
How many balloons did Masha buy for the party?