Though we have spent two nights in _______ the problem, we still can't find a solution.
A.working in
B.working out
C.working up
D.working on
正确答案是B