x-\frac{12}{100}x-\frac{5\cdot{x-\frac{12}{100}x}}{100}=16720\Rightarrow{x=20000}