Bill ate 12 / 2 = <<12/2=6>>6 pies.

Adam ate 6 + 3 = <<6+3=9>>9 pies.

They ate a total of 6 + 9 + 12 = <<6+9+12=27>>27 pies.

# Answer

27
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
There is a pie-eating contest at school. Adam eats three more pies than Bill. Sierra eats twice as many pies as Bill. If Sierra ate 12 pies, how many pies were eaten in total?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
27
There is a pie-eating contest at school. Adam eats three more pies than Bill. Sierra eats twice as many pies as Bill. If Sierra ate 12 pies, how many pies were eaten in total?
train