I was just writing this code. It showed many errors, `\[
H(z) =
\begin{cases}
\text{$ 1^{st} $ (in green) and $ 2^{nd} $ (in red)}, & $0\leq z<Z/3$\\
\text{$ 2^{nd} $ and $ 3^{rd} $ (black)}, & $Z/3\leq z<2Z/3$\\
\text{$ 2^{nd} $ and $ 1^{st} $}, & $2\leq z<Z/3$
\end{cases}
\]