First keep in mind that if you decrease each number by the same percentage, their ratio remains same.
$$a \rightarrow a- \frac{na}{100}$$ and $$b \rightarrow b- \frac{nb}{100}$$ $$\implies \frac ab=\frac{a-\frac{na}{100}}{b- \frac{nb}{100}}=\frac ab$$
Now, for your problem, you must have, $$\left(a- \frac{na}{100}\right)+\left(b- \frac{nb}{100}\right)+\left(c- \frac{nc}{100}\right)=100$$ plug in the values of $a,b,c$ and you can find $n$