We couldn't solve the problem until our teacher arrived.
A.When our teacher arrived, we solved the problem.
B.Not until our teacher arrived could we solve the problem.
C.Until our teacher arrived, we were able to solve the problem.
D.Not until we solved the problem could our teacher arrive.