In this task, you're given a question, along with three passages, 1, 2, and 3. Your job is to determine which passage can be used to answer the question by searching for further information using terms from the passage. Indicate your choice as 1, 2, or 3.

Input: Consider Input: Question: The rightful heir to the Hungarian throne according to the Treaty of Nagyvarad was a king from which country? Passage 1:The famous and influential Swedish filmmaker, Ingmar Bergman, rose to prominence in the fifties. He began making films in the mid-forties, and in 1955, he made Smiles of a Summer Night, which brought him international attention. A year later, he made one of his most famous films, The Seventh Seal. In the 1960s, Bergman won the Academy Award for Best Foreign Language Film for two consecutive years, with The Virgin Spring (Jungfrukällan) in 1960 and Through a Glass Darkly (Såsom i en spegel) in 1961. He won the award again in 1983, for the early twentieth-century family drama Fanny and Alexander (Fanny och Alexander). Bergman has also been nominated for the Best Picture award once, with the 1973 Cries and Whispers (Viskningar och rop), the story of two sisters watching over their third sister's deathbed, both afraid she might die, but hoping she does. The film lost to The Sting, and oddly enough, it was not nominated in the Foreign Language Film category. It also gave Bergman the first of three nominations for Best Director. Ingmar Bergman also won four Golden Globe Awards for Best Foreign Language Film.
 Passage 2:Auckland was New Zealand's second capital from 1841 until 1865, when Parliament was permanently moved to Wellington after an argument that was had for one decade. The initial form of government was an executive council formed of public servant appointed by and responsible to the governor. This changed when the New Zealand Constitution Act 1852, an Act of the Parliament of the United Kingdom that granted self-government to the Colony of New Zealand, was received. This allowed for a bicameral General Assembly (or Parliament), consisting of the Governor, an appointed Legislative Council and an elected House of Representatives, with an Executive Council nominally appointed by the Governor. It also allowed for provincial governments, and six provinces were initially established. The first general election was held in 1853.
 Passage 3:In 1530 John Zápolya appointed him as the provost of the Buda cathedral and as a royal secretary. Between 1530-1539 he was also the deputy of the King and after his death he remained with his widow, Isabella Jagiellon. In 1541 he moved with her to Transylvania, but he mostly traveled fulfilling diplomatic services because of his disagreement with cardinal Juraj Utješinović's policy of claiming the Hungarian throne for Isabella's and Zápolya's infant son (instead of conceding it to Ferdinand I as per Treaty of Nagyvárad). Utješinović, appointed by Zápolya as a guardian of his son, John Sigismund Zápolya, fought against Ferdinand and allied himself with the Ottoman Empire.


Output: 3


Input: Consider Input: Question: Where did the Seminole Wars take place? Passage 1:Gamble was born in the townland of Duross, Lisnarick, County Fermanagh, Ireland. He studied civil engineering, worked in the Queen's Surveying Office, and participated in the Northern Ireland survey. He emigrated to the United States in 1838. Since he had experience as a dragoon in the British army, he enlisted as a private in the 1st U.S. Dragoons and rose through the ranks to become Sergeant Major by 1839. While in the Army he married Sophia Steingrandt, daughter of King's German Legion Feldwebel Georg Steingrandt, on 6 May 1841, and they had 13 (by some accounts 15) children together. After fighting in the Seminole Wars, he was discharged in 1843 and worked as a civil engineer for the Board of Public Works in Chicago and lived in Evanston, Illinois. His house is now used by the Anthropology Department of Northwestern University.
 Passage 2:For seven years, Meyer was the Republican chairman of Dallas County; under his tenure the county became heavily Republican in orientation for two decades but reverted to Democratic majority strength in 2006. In 1972, Meyer was the campaign manager in the long-shot race waged by Alan Steelman, a young Republican who unseated Earle Cabell as U.S. representative for Texas's 3rd congressional district, a post once held by the earlier Republican Bruce Alger. Cabell was also a former mayor of Dallas. Steelman. however, gave up the seat in 1976 in a losing bid against Democratic U.S. Senator Lloyd M. Bentsen. In 1984, Meyer as chairman of the host committee worked to bring the Republican National Convention to Dallas. He lost a nonpartisan race himself in 1987 for mayor of Dallas to the Democrat Annette Strauss but became state chairman the next year for the first of three two-year terms. He helped Vice President George Bush win the presidency over Michael Dukakis, with their old mutual rival, Lloyd Bentsen, seeking to succeed Bush as vice president but losing out to Republican nominee Dan Quayle.
 Passage 3:Following coach James Franklin, Rahne spent the 2014 and 2015 seasons as the Penn State Nittany Lions quarterbacks coach. Working with quarterback Christian Hackenberg, Rahne helped him break all of the Nittany Lions major career passing records. Hackenberg finished his career with 693 completions, 8,457 passing yards, 48 touchdown passes, 9 career 300-yard passing games, and 21 200-yard passing games. After the final game of the 2015 regular season, John Donovan was fired as Penn States offensive coordinator, and replaced by Rahne as the interim to coach the TaxSlayer Bowl. During preparation for the bowl game, it was announced that ex-Fordham Head coach, Joe Moorhead would be taking over as offensive coordinator and quarterbacks coach for the 2016 season. Rahne took over as tight ends coach, a position that was previously held by Donovan. In this role Rahne mentored Mackey Award finalist Mike Gesicki as he broke the Penn State career record for receptions (123), receiving yards (1,419) and touchdowns (15) by a tight end. Gesicki was selected first-team All-Big Ten in 2017 and second team in 2016. Gesicki set single-season records at Penn State for receptions (51), receiving yards (679) and touchdown catches (9) by a tight end. On December 1, 2017, Rahne was named Penn States offensive coordinator and quarterbacks coach after Joe Moorhead left the Nittany Lions to become the head coach at Mississippi State. In his first game as a full-time offensive coordinator, Rahne led Penn State's offense to a Fiesta Bowl record 545 yards of total offense in a 35-28 win over Washington.


Output: 1


Input: Consider Input: Question: Was the Business Bay district completed by the time the tallest building in Dubai was open for business? Passage 1:Dubai, the largest city in the United Arab Emirates, is home to many modern high-rises, 108 of which stand taller than . The tallest building in Dubai is the Burj Khalifa, which rises and contains 163 floors. The tower has stood as both the tallest building in the world and the tallest man-made structure of any kind in the world since its completion in January 2010. The second-tallest building in Dubai is the Marina 101, which also stands as the world's second tallest residential skyscraper. The skyscrapers of Dubai are, for the most part, clustered in three different locations. The land along E 11 Road was the first to develop, followed by the Dubai Marina neighborhood and the Business Bay district.
 Passage 2:Montenegro has no currency of its own. As a constituent republic of the Socialist Federal Republic of Yugoslavia following World War II, and later of the Federal Republic of Yugoslavia, the Yugoslav dinar was the official currency in Montenegro. In November 1999, the government of Montenegro unilaterally designated the Deutsche Mark as its co-official currency with the dinar, and on 1 January 2001 the dinar officially ceased to be a legal tender in Montenegro. When the euro was introduced and the Deutsche Mark yielded, Montenegro followed suit and began using the euro as well, with no objection from the European Central Bank (ECB). The European Commission and the ECB have since voiced their discontent over Montenegro's unilateral use of the euro on several occasions.” A statement attached to their Stabilisation and Association Agreement with the EU read: "unilateral introduction of the euro was not compatible with the Treaty." The EU insists on the strict adherence to convergence criteria (such as spending at least 2 years in the ERMII system) which are not negotiable before euro adoption, but have not intervened to stop the unilateral adoption of the euro by Montenegro in 2002.
 Passage 3:In the 18th century, England was famous for its woollen and worsted cloth. That industry, centred in the east and south in towns such as Norwich, jealously protected their product. Cotton processing was tiny: in 1701 only of cottonwool was imported into England, and by 1730 this had fallen to . This was due to commercial legislation to protect the woollen industry. Cheap calico prints, imported by the East India Company from Hindustān (India), had become popular. In 1700 an Act of Parliament passed to prevent the importation of dyed or printed calicoes from India, China or Persia. This caused demand to switch to imported grey cloth instead—calico that had not been finished—dyed or printed. These were printed with popular patterns in southern England. Also, Lancashire businessmen produced grey cloth with linen warp and cotton weft, known as fustian, which they sent to London for finishing. Cottonwool imports recovered though, and by 1720 were almost back to their 1701 levels. Again the woollen manufacturers, in true protectionist fashion, claimed that the imports were taking jobs away from workers in Coventry. The Woollen, etc., Manufactures Act 1720 was passed, enacting fines against anyone caught wearing printed or stained calico muslins. Neckcloths and fustians were exempted. The Lancashire manufacturers exploited this exemption; coloured cotton weft with linen warp were specifically permitted by the 1736 Manchester Act. There now was an artificial demand for woven cloth.



Output: 1