<human>:  Joseph gave 23 cards to each of his 15 students and had 12 cards left. How many cards did Joseph have at first?
<bot>: How many cards did Joseph give to his students? ** He gave 23 cards each to 15 students for a total of 23*15 = <<23*15=345>>345 cards
How many cards did Joseph have at first? ** He has 12 cards left, so originally the number of cards was 345+12 = 357 cards
#### 357