单项选择题

______to find the proper job, he decided to give up job-hunting in this city.

A.Failed
B.To fail
C.Being failed
D.Having failed