Q: Remove the spaces from the following sentence: His teaching was not exclusively applied mathematics, however, for he taught a lattice theory course on several occasions.
A: [Histeachingwasnotexclusivelyappliedmathematics,however,forhetaughtalatticetheorycourseonseveraloccasions.]

Q: Remove the spaces from the following sentence: Use organic or pasteurized eggs.
A: [Useorganicorpasteurizedeggs.]

Q: Remove the spaces from the following sentence: Dar Achain - Get low hotel rates and check availability in Imlil and hotel reservations at Dar Achain - The most trusted reviews about hotels in Imlil, Morocco
A: [DarAchain-GetlowhotelratesandcheckavailabilityinImlilandhotelreservationsatDarAchain-ThemosttrustedreviewsabouthotelsinImlil,Morocco]

Q: Remove the spaces from the following sentence: 23 Mayfield Gardens, Newington, EH9 2BX Edinburgh, Newington, United Kingdom
A:
[23MayfieldGardens,Newington,EH92BXEdinburgh,Newington,UnitedKingdom]