<human>:  Sonny received 45 boxes of cookies from his friend yesterday. He gave 12 to his brother, 9 to his sister, and he gave 7 to his cousin. How many boxes of cookies were left for him?
<bot>: How many boxes of cookies did Sonny give away? ** Sonny gave 12 + 9 + 7 = <<12+9+7=28>>28 boxes of cookies.
How many boxes of cookies were left for him? ** Therefore, he was left with 45 - 28 = <<45-28=17>>17 boxes of cookies.
#### 17