Which word in the sentence does the adverb modify

several people ran toward the stairs, while others quickly walked to the elevator.

A.walked

B.stairs

C.people

D.ran