The chef had 17 - 12 = <<17-12=5>>5 meals left after lunch.
So, the chef has 5 + 5 = <<5+5=10>>10 meals for dinner.
#### 10