Let $\Bbb D= \{z : |z|<1\}$ be the unit disc. Let $f:\Bbb D \to \Bbb D$ be a holomorphic function such that $|f(\frac{1}{2})|+|f(-\frac{1}{2})|=0$. Prove: $|f(0)| \leq \frac{1}{4}$.
The only thing I thought about was using Schwarz lemma, but I'm not sure how. I thought about defining $g(z)=\frac{f(z+\frac{1}{2})+f(z-\frac{1}{2})}{2}$, but now $g$ is not defined in all $\Bbb D$, and I'm pretty much stuck.