human
Matthias has 40 soccer balls and 15 basketballs. 30 soccer balls and 7 basketballs have a hole in them. How many balls in total does Matthias have without holes in them?
assistant
How many of his soccer balls don't have holes? ** Matthias has 40-30 = <<40-30=10>>10 soccer balls without holes.
How many of his basketballs don't have holes? ** Matthias has 15-7 = <<15-7=8>>8 basketballs without holes.
How many balls in total does Matthias have without holes in them? ** A total of 10+8 = <<10+8=18>>18 balls do not have holes.
#### 18