Ahmad has a bag of 120 marbles. The red marbles, yellow marbles, and green marbles are in the ratio 2:3:7. How many red, yellow, and green marbles are in the bag?