Input (grade 10): With the coming of the railway in 1839 and the development of the docks, Southampton grew from a population of 27,000 in 1841 to 42,000 in 1861.
Output (grade 4): The population grew from 27,000 in 1841 to 42,000 in 1861.