He gives a third of 12 oranges to his brother which is 12*(1/3) = <<12*(1/3)=4>>4 oranges

He has 12-4 = <<12-4=8>>8 oranges left

He gives a fourth of 8 oranges to his friend which is 8*(1/4) = <<8*(1/4)=2>>2 oranges

# Answer

2
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
A boy has 12 oranges. He gives one-third of this number to his brother, one-fourth of the remainder to his friend and keeps the rest for himself. How many does his friend get?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
2
A boy has 12 oranges. He gives one-third of this number to his brother, one-fourth of the remainder to his friend and keeps the rest for himself. How many does his friend get?
train