William bought a new backpack at the store when they were having a 40% percent off sale. If the regular price of the backpack was $35 how much did William pay with the discount?