Which is the closest synonym for the word devise?

A. acquire
B. invent
C. operate
D. identify

B. invent