In a recent wedding, the groom's age was fifteen years more than half the bride's age. If the sum of their ages was 51 years, how old was the groom?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
In a recent wedding, the groom's age was fifteen years more than half the bride's age. If the sum of their ages was 51 years, how old was the groom?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
27
In a recent wedding, the groom's age was fifteen years more than half the bride's age. If the sum of their ages was 51 years, how old was the groom?
train