Remove the spaces from the following sentence: Knut and Marie Hamsun bought this beautiful farm in 1918 and they lived there, with short intermissions, for the rest of their lives.
KnutandMarieHamsunboughtthisbeautifulfarmin1918andtheylivedthere,withshortintermissions,fortherestoftheirlives.