There are 6 - 2 = <<6-2=4>>4 apples.

There are 3 * 4 = <<3*4=12>>12 bananas.

There is 1/2 x 12 bananas = <<1/2*12=6>>6 peaches.

There is 6 oranges + 4 apples + 12 bananas + 6 peaches = <<6+4+12+6=28>>28 pieces of fruit.

# Answer

28
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
There are six oranges in a fruit basket. There are two fewer apples than oranges.  There are 3 times as many bananas as apples, and there are half as many peaches as bananas.  How many pieces of fruit are in the fruit basket?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
28
There are six oranges in a fruit basket. There are two fewer apples than oranges.  There are 3 times as many bananas as apples, and there are half as many peaches as bananas.  How many pieces of fruit are in the fruit basket?
train