Add spaces between the words in the following text: HewasappointedprofessorofgeometryatPaduaon4January1845afteracompetitiveexaminationtofindthebestcandidateforthechair.
He was appointed professor of geometry at Padua on 4 January 1845 after a competitive examination to find the best candidate for the chair.