Given the task definition and input, reply with output. Given a math problem with context and a question and 5 answer choices, the task is to provide the correct answer choice based on the problem. You must choose one of the given answer choices by letter: a, b, c, d, or e; anything else is invalid.

Problem: in a certain pet shop, the ratio of dogs to cats to bunnies in stock is 4: 7: 9. if the shop carries 364 dogs and bunnies total in stock, how many dogs are there ?
Options: a. 42, b. 66, c. 98, d. 112, e. 154
d