Annalise, Torah, and Samantha are cousins. Annalise is 3 years older than Torah, and Samantha is 1 year older than Annalise. If the product of Annalise's and Samantha's ages is 240, how old is Annalise?