A bag contains mangoes that are either green or yellow…

Q) A bag contains mangoes that are either green or yellow. The ratio of green mangoes to yellow mangoes in the bag is 3 to 5. When two green mangoes are removed and ten yellow mangoes are added, the ratio becomes 2 to 5. How many green mangoes were originally in the bag?