Read the sentence below:

We commend you for your hard work and good grades.

Which definition of commend applies in this context?

A.To entrust for care or preservation
B.To recommend as worthy of notice
C.To offer into another's care
D.To depend on or be confident in