THE ANSWER IS B
Bilbo follows Gollum, who heads toward the exit thinking that Bilbo is ahead of him. When Gollum gets near the exit, he stops because there are goblins crowded around it. Bilbo leaps over him, runs past the goblins unnoticed thanks to the ring, and just barely manages to squeeze through the door into freedom and fresh air.