Reus was for long the second city of Catalonia with a population of 14,440 in 1787 and 27,257 in 1860. It was overtaken by Tarragona and Lleida between 1900 and 1930. The population barely grew between 1920 and 1930, with 30,266 and 35,950 inhabitants, respectively. From then, the population growth has been substantial, from 41,014 inhabitants in 1960 to 108,100 inhabitants that the city has as of the end of 2008. Immigration, mostly from Marrakesh, has been a portion of that increase. About 6% are Muslim and 8% from other religions.
Question: How many more people were living in Catalonia in 1860 than in 1787?
Answer: 12817