Every compact Riemann surface is a branched cover of the Riemann sphere

From Companal

Statement

Let S be a compact Riemann surface of degree g. Then, S admits a nonconstant meromorphic function of degree at most g+1. In particular, S can be expressed as a branched cover of the Riemann sphere with at most g+1 sheets.