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

### Instruction:
A judge oversaw seventeen court cases. Two were immediately dismissed from court. Two-thirds of the remaining cases were ruled innocent, one ruling was delayed until a later date, and the rest were judged guilty. On how many cases did the judge rule guilty?

### Response:
 Kulikuwa na kesi 17 - 2 = <<17-2=15>>15 ambazo hazikukataliwa.
Kati ya kesi 15 zilizosalia, 2 / 3 * 15 = <<2/3*15=10>>10 zilipatikana kuwa wasio na hatia.
Uamuzi mmoja uliahirishwa, hivyo hakimu alitoa uamuzi wa hatia kwa kesi 15 - 10 - 1 = <<15-10-1=4>>4.