Emily bought 5 notebooks, 10 pencils, 5 markers, and 2 rulers. Each notebook and each ruler cost $3. Each pencil cost $0.20 and each marker cost $2. How much did Emily pay?​