单项选择题

John,______ the bet, had to pay for the dinner.

A.lost
B.having lost
C.losing
D.having loss