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