The total number of bottles containing cider or beer is 40+80 = <<40+80=120>>120

If the number of bottles in the van was 180, then 180-120 =<<180-120=60>>60 contains a mixture of the two drinks.

At the first house, the delivery man dropped 1/2*40 = <<1/2*40=20>>20 bottles.

There were also 1/2*80 = <<1/2*80=40>>40 bottles of beer that the delivery man gave to the first house.

Together, the first house received 40+20 = <<40+20=60>>60 bottles of cider and beer

The total number of bottles that had a mixture of the two drinks that were dropped at the first house is 1/2*60 = <<1/2*60=30>>30

The first house got 60+30 = <<60+30=90>>90 bottles of all types of drinks.

# Answer

90
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
A van is delivering  180 bottles of drinks to a neighborhood, and each bottle contains either cider or beer or a mixture of two. Out of the  180 bottles, 40 contain only cider, 80 contain only beer, and the rest are a mixture of the two drinks. If the delivery man gives half the number of each bottle of drink to the first house, how many bottles does the first house get?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
90
A van is delivering  180 bottles of drinks to a neighborhood, and each bottle contains either cider or beer or a mixture of two. Out of the  180 bottles, 40 contain only cider, 80 contain only beer, and the rest are a mixture of the two drinks. If the delivery man gives half the number of each bottle of drink to the first house, how many bottles does the first house get?
train