单项选择题

Joseph was very lucky ______ with his life; he almost did not get out of the room.

A.to escape
B.to have escaped
C.to escaping
D.to be escaping