Tom’s cat is 8 years old.  His rabbit is half the age of his cat.  His dog is three times as old as his rabbit.  How old is the dog? Let's think step by step and output the final answer after "####".
user
Tom’s rabbit is 8 / 2 = <<8/2=4>>4 years old.
His dog is 4 x 3 = <<4*3=12>>12 years old.
#### 12
Tom’s cat is 8 years old.  His rabbit is half the age of his cat.  His dog is three times as old as his rabbit.  How old is the dog?
train