单项选择题

设函数y=f(x)由方程cos(xy)+lny-x=1确定,则()

A.2
B.1
C.-1
D.-2