What is the subject in the following sentence?
In prisons, inmates sometimes train service dogs.
(A) inmates
B) train
C) service
D) prisons