3. If $\left|3^{x}-\log _{3} x\right|=3^{x}+\log _{3} x=k$, then the value of $k$ is ( ).
(A) 3,
(B) 1.
(C) 0.
(D) Cannot be determined.
A

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.