You have some number of hats, shirts,and jackets,but the number of each is an integer between 1 and 15. The number of outfits you can pick with 1 hat,1 shirt and 1 jacket is exactly 40. How many different possibilities are there for the numbers of hats, shirts, and jackets?