human
Mary has 400 sheep on her farm. She gave a quarter of her sheep to her sister, and half of the remaining sheep to her brother. How many sheep remain with Mary?
assistant
How many sheep does Mary give to her sister? ** Mary gives 1/4 * 400 = <<400*1/4=100>>100 sheep to her sister.
How many sheep does Mary have remaining? ** She now has 400 - 100 = <<400-100=300>>300 sheep remaining.
How many sheep does Mary give to her brother? ** She then gives 1/2 * 300 = <<300/2=150>>150 sheep to her brother.
How many sheep remain with Mary? ** So 300 - 150 = <<300-150=150>>150 sheep remain.
#### 150