This is LaTeX code:

[latex]
1000000 - ( |A| + |B| + |C| - |A \cap B| - |A \cap C| - |B \cap C| + |A \cap B \cap C|)
[/latex]