A store has 2 times as hooded sweatshirt as crewneck sweatshirts. The total number of sweatshirts is 36. How many hooded sweatshirts does the store have?