Matilda and her sisters each got 20 chocolate bars / 5 people = <<20/5=4>>4 chocolate bars/person

They each gave 4/person / 2 = <<4/2=2>>2 chocolate bars/person to their father.

Their father received 2 chocolate bars/person x 5 people = <<2*5=10>>10 chocolate bars

Their father had 10 chocolate bars - 3 chocolate bars - 2 chocolate bars = <<10-3-2=5>>5 chocolate bars left.

# Answer

5
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Matilda had 20 chocolate bars and shared them evenly amongst herself and her 4 sisters. When her father got home from work, he was upset that they did not put aside any chocolates for him. They felt bad, so they each gave up half of their chocolate bars for their father. Their father then gave 3 chocolate bars to their mother and ate 2. How many chocolate bars did Matilda's father have left?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
5
Matilda had 20 chocolate bars and shared them evenly amongst herself and her 4 sisters. When her father got home from work, he was upset that they did not put aside any chocolates for him. They felt bad, so they each gave up half of their chocolate bars for their father. Their father then gave 3 chocolate bars to their mother and ate 2. How many chocolate bars did Matilda's father have left?
train