# To show $a$ is removable singularity of $f$

Let $X,Y$ be two compact Riemann surfaces. Let $a \in X$ and $f : X-\{a\} \to Y$ be a injective holomorphic map. Prove that $a$ is removable singularity of $f$.

I want to apply Riemann removable singularity theorem somehow but I am unable to get it. Any help will be appreciated.