The number of blue apples is 5, and if you receive twice as many yellow apples as the number of blue apples, there will be 5*2 = <<5*2=10>>10 yellow apples.

After receiving the yellow apples, you now have 10 yellow apples+5 blue apples = <<10+5=15>>15 apples.

When you give 1/5 of the total number of apples to the son, you part with 1/5*15 = <<1/5*15=3>>3 apples.

The total number of apples remaining is 15-3 = <<15-3=12>>12 apples.

# Answer

12
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
I have purchased 5 blue apples at the store. Suppose my neighbor gives me twice as many yellow apples as I have blue ones, and then I give my son 1/5 of the total number of apples; how many apples do I have now?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
12
I have purchased 5 blue apples at the store. Suppose my neighbor gives me twice as many yellow apples as I have blue ones, and then I give my son 1/5 of the total number of apples; how many apples do I have now?
train