Simple meromorphic functions are algebraic