In a math competition, Emma and Liam each have a collection of marbles. Emma has $\frac{3}{4}$ of her marbles blue, while the remaining $\frac{1}{4}$ are red. Liam has $\frac{2}{5}$ of his marbles blue and $\frac{3}{5}$ of his marbles green, with the rest being red. If Emma has 36 marbles in total, how many red marbles does Liam have if he has 50 marbles in total?