Mark the tick against the correct answer in the following: The value of \tan ^{-1}\left(\tan \frac{7 \pi}{6}\right) is
A. \frac{7 \pi}{6}
B. \frac{5 \pi}{6}
C. \frac{\pi}{6}
D. none of these