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

### Instruction:
During a unit on probability, a teacher surveys her class asking her students two questions.  The first question was whether they prefer dogs or cats, and the second question was whether they movies or video games.  Of the 30 students in her class, 50% chose dogs and video games as their two answers, while 10% chose dogs and movies as their two answers.  In total, how many students in this teacher's class prefer dogs over cats?

### Response:
 50% ya darasa ambayo ilichagua mbwa na michezo ya video inafikia 30*0.5 = <<50*.01*30=15>>15 wanafunzi ambao wanapendelea mbwa kuliko paka.
Vivyo hivyo, 10% ambao walichagua mbwa na sinema inafikia 30*0.1 = <<30*0.1=3>>3 wanafunzi ambao wanapendelea mbwa kuliko paka.
Kwa kuwa hizi ndizo njia pekee mbili ambazo mwanafunzi angeweza kuonyesha upendeleo wake kwa mbwa katika utafiti huu, na kwa kuwa makundi haya hayana kujirudia, jumla ya wanafunzi 15 + 3 = <<15+3=18>>18 wanapendelea mbwa kuliko paka katika darasa hili la mwalimu.