Please reason step by step, and put your final answer within \boxed{}.
A magician has a top hat with 80 red marbles, 120 blue marbles, 75 green marbles, and 50 yellow marbles. If he takes away 1/4 of the red marbles, three times as many blue marbles as 1/5 of the green marbles he has, 30% of the green marbles, and 25 yellow marbles (without looking), how many marbles in total does he have left?
user