A group of frogs (called an army) is living in a tree. A frog turns green when in the shade and turns yellow when in the sun. Initially, the ratio of green to yellow frogs was . Then green frogs moved to the sunny side and yellow frogs moved to the shady side. Now the ratio is . What is the total number of frogs in the army?
25
28
30
32
35