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

### Instruction:
At a gathering, it was reported that 26 people took wine, 22 people took soda, and 17 people took both drinks. If each person could have taken one or more drinks regardless of what was reported, how many people altogether were at the gathering?

### Response:
 Idadi ya watu ambao walikunywa divai pekee, ambayo ni tofauti kati ya idadi ya watu ambao walikunywa divai na wale ambao walikunywa divai na soda ambayo ni 26 - 17 = <<26-17=9>>9 watu.
Kwa njia hiyo hiyo, idadi ya watu ambao walikunywa soda pekee ni 22 - 17 = <<22-17=5>>5 watu.
Idadi jumla ya watu waliohudhuria ni 9 + 5 + 17 = <<9+5+17=31>>31.