Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
Janette went camping for 5 days. She brought along 40 pieces of beef jerky. She wants to ration it out so that she can eat 1 for breakfast, 1 for lunch, and 2 for dinner each day. When she returns from the trip, she plans on giving half of the remaining pieces to her brother. How many pieces of beef jerky will she have left once she does this?

### Response:
Janette will consume a total of 1 + 1 + 2 = <<1+1+2=4>>4 pieces of jerky per day.
For the entire trip, she will consume a total of 4 * 5 = <<4*5=20>>20 pieces of jerky.
She gives her brother 1/2 * 20 = <<1/2*20=10>>10 pieces of jerky.
After her brother receives his half, she will have 20 - 10 = <<20-10=10>>10 pieces of jerky remaining.
#### 10