Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
Joseph gave 23 cards to each of his 15 students and had 12 cards left. How many cards did Joseph have at first?

### Response:
 Alitoa kadi 23 kwa kila mmoja kati ya wanafunzi 15 kwa jumla ya kadi 23*15 = <<23*15=345>>345
Baada ya kutoa kadi 345 alikuwa na kadi 12 zilizobaki, hivyo kwa asili idadi ya kadi ilikuwa 345+12 = 357 kadi