Add spaces between the words in the following text: HethenmovedtotheUniversityofPennsylvaniatostudyforhisMaster'sdegreewhichwasawardedin1939.
He then moved to the University of Pennsylvania to study for his Master's degree which was awarded in 1939.