Remove the spaces from the following sentence: Esclangon accepted a post at the university observatory but continued to work on mathematical topics for his doctorate.
Esclangonacceptedapostattheuniversityobservatorybutcontinuedtoworkonmathematicaltopicsforhisdoctorate.