Question: How many months or years passed between the signing of the Adams-Onis Treaty and the formulation of the Monroe Doctrine? Passage 1:Born in Braintree, Massachusetts, Adams spent much of his youth in Europe, where his father served as a diplomat. After returning to the United States, Adams established a successful legal practice in Boston. In 1794, President George Washington appointed Adams as the U.S. ambassador to the Netherlands, and Adams would serve in high-ranking diplomatic posts until 1801, when Thomas Jefferson took office as president. Federalist leaders in Massachusetts arranged for Adams's election to the United States Senate in 1802, but Adams broke with the Federalist Party over foreign policy and was denied re-election. In 1809, Adams was appointed as the U.S. ambassador to Russia by President James Madison, a member of the Democratic-Republican Party. Adams held diplomatic posts for the duration of Madison's presidency, and he served as part of the American delegation that negotiated an end to the War of 1812. In 1817, newly-elected President James Monroe selected Adams as his Secretary of State. In that role, Adams negotiated the Adams–Onís Treaty, which provided for the American acquisition of Florida. He also helped formulate the Monroe Doctrine, which became a key tenet of U.S. foreign policy.
 Passage 2:Mercurio's next original drama series, Line of Duty (first broadcast 26 June 2012), premiered as BBC2's then best-performing drama series in 10 years with 4.1 million viewers. A well-received second series (first broadcast 12 February 2014) resulted in the BBC commissioning two further series for production in 2015 and 2016. The first series was nominated for a Royal Television Society Award for Best Drama Series and earned Mercurio his third nominations as Best Drama Writer by the Royal Television Society and The Writers' Guild of Great Britain. In 2014, Line of Duty was named in the Top 50 BBC2 Shows of All-Time, and named best television drama of the year by The Observer, and in 2016 ranked among the best BBC shows of all time and among the best police series of all time. In 2015, the second series won the Royal Television Society Award for Best Drama Series. and was nominated for four BAFTA Awards. Series 3 of Line of Duty became the most watched drama series broadcast on BBC2 in the multichannel era. Series 4 transferred to BBC One, consisting of six episodes broadcast from 26 March 2017.
 Passage 3:The music for the film was composed by Barry De Vorzon and Perry Botkin Jr.. Their score for the movie included an instrumental selection titled "Cotton's Dream", which was later rescored to become the theme song of the soap opera The Young and the Restless; this was produced by Columbia's television division, now Sony Pictures Television. The soundtrack for the film also includes the movie's theme song, performed by The Carpenters. In late July or early August 1976, when ABC's sports summary program Wide World of Sports produced a montage of Romanian gymnast Nadia Comăneci's routines during the 1976 Summer Olympics and used "Cotton's Dream" as the background music, the song gained more popularity and was subsequently released in a re-edited and lengthened form as "Nadia's Theme", a title under which it became best known. (Comăneci herself never performed her floor exercises using this piece of music, however.) De Vorzon and Botkin Jr. also wrote lyrics for "Cotton's Dream" but no vocal version of it was known to have charted .

Output: 1