Add spaces between the words in the following text: Lovranwasvisitedthenbymanyfamousfigures(TomasGarygMasaryk,firstpresidentofCzechoslovakia).
Lovran was visited then by many famous figures (Tomas Garyg Masaryk, first president of Czechoslovakia).