What is the version of the following sentence with correct punctuation?

As the beings had only very elementary intellectual talents they could not possibly have been helped by a hundred per cent cosmic science
As the beings had only very elementary intellectual talents, they could not possibly have been helped by a hundred per cent cosmic science.