Mary bought a box of chocolate that costs 50$. At checkout, a 20% discount was applied, then she used a 10$ voucher. How much does Mary have to pay?
50$
40$
30$
25$