If Hiram's age is 40, when you add 12, his age becomes 40+12=<<40+12=52>>52

If you add 4 from Hiram's age after adding twelve to his age, you get 52+4 = 56, which is twice Allyson's age.

Allyson's age is 56/2 = <<56/2=28>>28 years

# Answer

28
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
When you take Hiram's age and then add 12, you get 4 less than twice Allyson's age. If Hiram is 40 years old, how old is Allyson?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
28
When you take Hiram's age and then add 12, you get 4 less than twice Allyson's age. If Hiram is 40 years old, how old is Allyson?
train