This is LaTeX code:

[latex]
C=\{ \omega_i \in \Omega : X(\omega_i)+Y(\omega_i) \in A \}
[/latex]