Adrian bought a jacket that costs 11 dollars and a scarf that costs 15 dollars. At the counter, he received a discount. If he only paid 22 dollars total, how many dollars was the discount?