There are 8-2=<<8-2=6>>6 slices left after his friend eats some slices

That means So he eats 6/2=<<6/2=3>>3 slices

# Answer

3
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
James orders an 8 piece pizza.  His friend eats 2 slices and James eats half of what is left.  How many slices does James eat?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
3
James orders an 8 piece pizza.  His friend eats 2 slices and James eats half of what is left.  How many slices does James eat?
train