After the birds ate 19 of the tomatoes Haruto has 127 - 19 = <<127-19=108>>108 tomatoes left.

After giving half of his tomatoes to his friend, Haruto had 108 / 2 = <<108/2=54>>54 tomatoes.

# Answer

54
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Haruto has tomato plants in his backyard. This year the plants grew 127 tomatoes. Birds had eaten 19 of the tomatoes. He picked the rest. If Haruto gave half of his tomatoes to his friend, how many tomatoes does he have left?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
54
Haruto has tomato plants in his backyard. This year the plants grew 127 tomatoes. Birds had eaten 19 of the tomatoes. He picked the rest. If Haruto gave half of his tomatoes to his friend, how many tomatoes does he have left?
train