Input (grade 10): In 1787, Pichilemu held 1,688 inhabitants, and the population rose to 7,787 inhabitants by 1907.
Output (grade 7): In 1787, Pichilemu had 1,688 inhabitants. In 1907, Pichilemu had 7,787 inhabitants.