问题

_____ at the theatre,he found the ticket his friend gave him was left at home.[ ]

A: To arrive
B: On arriving
C: While arrived
D: On arrived
正确答案是: