单项选择题

They stayed up late trying to ______ out a way to solve the problem.

[A] let
[B] give
[C] knock
[D] figure