This is LaTeX code:
[latex]
\displaystyle \mathbb{E}[g(X, Y, Z)] = \sum_{\omega} g(\omega) \mathbb{P}(\omega)
[/latex]