I would like to thank Ralph Phillips, Peter Sarnak and Bob Brooks for telling me about this problem, and their ideas on how to solve it. They also made helpful comments on earlier versions of this paper, as did Curt McMullen. The referee filled me in on the history of the problem, and supplied some of the references cited in the Introduction.
Most of all, I would like to thank Dennis Sullivan for advice and encouragement.