Bayes' theorem is used as such.
There are two possibilities:
1) It is raining and they are lying
2) It is sunny and they are telling the truth.
\begin{equation} \frac{P_s}{P_r + P_s} = \frac{\frac{1}{3}(\frac{2}{3})^3}{\frac{1}{3}(\frac{2}{3})^3+\frac{2}{3}(\frac{1}{3})^3} = 0.8 \end{equation}