Remove the spaces from the following sentence: This way we managed to get to see both the old and the new part of the town.
Thiswaywemanagedtogettoseeboththeoldandthenewpartofthetown.