Αποστολή με SMS: Functionals of finite Riemann surfaces