Let $f:X\rightarrow Y$ be a non-constant holomorphic map between compcat riemann surfaces, we need to show $f^{-1}(y),\forall y\in Y$ is finite and discrete subset of $X$.
What if $X$ and $Y$ are non compact?
well, $f$ is onto clearly, and I understand some how I need to use the fat that $Zeros$ of $f$ is a discrete set, but I am not able to write rigoriously the answer.