Hazel buys a sweatshirt. The cost of the sweatshirt is $40, however, the sweatshirt is 30% off. How much will Hazel pay for the sweatshirt?