Matthew, Patrick and Alvin are eating dinner together. Matthew eats three times as many egg rolls as Patrick eats. Patrick eats half as many egg rolls as Alvin eats. If Alvin ate 4 egg rolls, how many did Matthew eat? Let's think step by step and output the final answer after "####".
user
Patrick eats 1/2 of the 4 egg rolls that Alvin eats, 1/2 x 4 = <<1/2*4=2>>2 egg rolls.
Matthew eats 3x as many egg rolls as Patrick eats, 3 x 2 = <<3*2=6>>6 egg rolls that Matthew eats.
#### 6
Matthew, Patrick and Alvin are eating dinner together. Matthew eats three times as many egg rolls as Patrick eats. Patrick eats half as many egg rolls as Alvin eats. If Alvin ate 4 egg rolls, how many did Matthew eat?
train