<human>:  Mary buys 3 bags of M&Ms. The first bag has 300 M&Ms in it. The second bag has 12 more M&Ms than the first, and the third bag has a hole in it, so it only has half the number of M&Ms that the first bag had. How many M&Ms did Mary get total?
<bot>: How many M&Ms are in the first bag? ** First Bag:300
How many M&Ms are in the second bag? ** Second Bag:300+12=<<300+12=312>>312
How many M&Ms are in the third bag? ** Third Bag:300/2=<<300/2=150>>150
How many M&Ms did Mary get total? ** Total number of M&M's: 300+312+150=<<300+312+150=762>>762 M&M's
#### 762