It would be D:
While I was at the gym—wondering what machine to use next—I ran into my neighbor.
Answer:
grif
Explanation: