The second week it grew twice as much as the first week, so 2 * 2 inches = <<2*2=4>>4 inches.

The third week it grew 4 times as much as in the second week, so 4 * 4 inches = <<4*4=16>>16 inches.

In total, it grew 2 inches + 4 inches + 16 inches = <<2+4+16=22>>22 inches.

# Answer

22
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Bob has planted corn in his garden, and it has just started to sprout. A week after planting it, it had grown 2 inches. The next week, its height increased by twice as much as it had the first week. In the third week, it grew 4 times as much as it did the week before. How tall are the corn plants now?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
22
Bob has planted corn in his garden, and it has just started to sprout. A week after planting it, it had grown 2 inches. The next week, its height increased by twice as much as it had the first week. In the third week, it grew 4 times as much as it did the week before. How tall are the corn plants now?
train