Input (grade 6): In 1820 a new church was built and the following year the first synagogue was opened.
Output (grade 6): In 1820 a new church was built and the following year the first synagogue opened.