Let $U\subseteq \mathbb{C}$ be a connected open set, and let $f,g,h:U\to\mathbb{C}$ be holomorphic functions such that $$|f(z)|+|g(z)|+|h(z)|=1$$ for all $z\in U$. How does one prove that $f,g,h$ are constant functions?
Any hints would be appreciated.