Question: How many years was the Papal residence in the Lateran Palace before being moved to the Quirinal Palace? Passage 1:Kakizaki Hakyō was born in Matsumae Castle in 1764, the fifth son of the Matsumae Domain daimyō . The following year he was adopted as successor by karō (chief retainer or house elder) . At a young age he travelled to Edo, where he studied under and Sō Shiseki, learning the style of the Nanpin school. In the aftermath of the Menashi–Kunashir rebellion, he painted the , portraits of twelve Ainu chiefs who had sided with the Matsumae Domain; this series was presented to Emperor Kōkaku. In 1791 he journeyed to Kyōto, where he studied under Maruyama Ōkyo. His style was influenced by his exchanges with the painters and literati of the Maruyama-Shijō school and he became friends with , , and in particular , with whom he hosted a moon-viewing party for , attended also by . From 1807, when the Matsumae clan were transferred to the , based around Yanagawa in Mutsu Province, Kakizaki Hakyō as karō worked for their reinstatement. In 1826, after falling ill in Edo, he died in his home town of Matsumae.
 Passage 2:Peete was born Holly Elizabeth Robinson in Mount Airy, Philadelphia, Pennsylvania, the daughter of Dolores and Matt Robinson (the original Gordon on Sesame Street). Her mother was a school teacher, in public relations, and later a personal talent manager, and her father a producer/writer. She has an older brother named Matthew Thomas Robinson III. She attended Greene Street Friends School in nearby Germantown. In 1974, her family moved to California. Peete graduated from Santa Monica High School in Santa Monica, California, where her classmates included Rob Lowe. Peete graduated from Sarah Lawrence College with a degree in psychology and French. Peete studied abroad for a year at the Sorbonne, and is fluent in French. While there she sang in Paris nightclubs, including a performance with jazz musician Lionel Hampton at the Hotel Meridian Jazz Club.
 Passage 3:With the increasing chaos and disorder leading to the collapse of the Roman Empire in 476, the popes assumed more and more civil authority first in Rome and in the surrounding territories. Rome became the center of the Catholic Church and the capital city of the Papal States; consequently, a great number of churches, convents and other religious buildings were erected in the city, sometimes above the ruins of older pre-Christian sites of worship. Churches proliferated during the Renaissance, when the Rome's most notable churches were built (this includes St. Peter's basilica on the Vatican Hill (the largest church in the world) and the city cathedral of St. John at the Lateran. The Papacy established its residence first in the Lateran Palace, then in the Quirinal Palace. When Rome was annexed by force to the newly unified Kingdom of Italy In 1870, Pope Pius IX retired to the Vatican, proclaiming himself a prisoner of the Savoy monarchy and leading to decades of conflict between the neonate state and the Catholic Church. This was resolved in 1929, when the Lateran Treaty were signed in Rome, establishing the right for the Holy See to govern the Vatican City as an independent, sovereign state. The patron saints of Rome remain Saint Peter and Saint Paul (or, as they are collectively referred to in this context, "the most holy Saints Peter and Paul"), both celebrated on June 29.

Output: 3