Remove the spaces from the following sentence: After a dozen years working in sundry European opera houses Stefán Islandi was contracted to the Royal Theatre in Copenhagen from 1940 onwards.
AfteradozenyearsworkinginsundryEuropeanoperahousesStefánIslandiwascontractedtotheRoyalTheatreinCopenhagenfrom1940onwards.