input question: Fix spacing: Eachgroupofwordsisassignedanumber.Afterall,numeralsaretheuniversallanguage.

output answer: Each group of words is assigned a number. After all, numerals are the universal language.

input question: Fix spacing: In1941however,hejoinedNavalIntelligenceandwasinvolved,asweremanyothermathematicians,decipheringcodedmessages.

output answer: In 1941 however, he joined Naval Intelligence and was involved, as were many other mathematicians, deciphering coded messages.

input question: Fix spacing: ThispolicysettingtakesprecedenceoveranyotherpolicysettingthatallowsWindowstoinstalladevice.

output answer: This policy setting takes precedence over any other policy setting that allows Windows to install a device.

input question: Fix spacing: Ifyouwanttoknowinadvancewhatturnsmeoff:Rude,Unpolite,Unpatientpeople.

output answer:
If you want to know in advance what turns me off: Rude, Unpolite, Unpatient people.