The ratio of Sam's age to Hank's age is 5 to 3. If the sum of their ages is 24, how old is Hank?