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: In what year did the reason Simon fled to Portugal take place? Passage 1:Seminal Hindu religious works in Bengali include the many songs of Ramprasad Sen. His works (still sung today) from the 17th century cover an astonishing range of emotional responses to the goddess Kali, detailing complex philosophical statements based on Vedanta teachings and more visceral pronouncements of his love of the goddess. They are known as Shyama Sangeet and were the literary inspiration for Kazi Nazrul Islam's later, famed Shyama Sangeet. There are also the laudatory accounts of the lives and teachings of the Vaishnava saint Chaitanya Mahaprabhu (the Choitanyo Choritāmrit) and Shri Ramakrishna (the Ramakrishna Kathamrita, translated roughly as Gospel of Ramakrishna). There is also a large body of Islamic literature, that can be traced back at least to Noornama by Abdul Hakim. Bishad Sindhu depicting the death of Hussain in Karbala is very popular novel written by Mir Mosharraf Hossain. Later works influenced by Islam include devotional songs written by Nazrul, and popularized by Abbas Uddin, among others.
 Passage 2:Rani Mukerji is an Indian actress who has won several awards and nominations. She made her film debut with a supporting role in the Bengali film Biyer Phool (1996), which was directed by her father Ram Mukherjee. She made her Hindi debut with Raja Ki Aayegi Baraat in 1996, for which she received her first award at the Star Screen Awards for Best Fresh Talent. The following year she was featured in two successful films. For her third movie, Kuch Kuch Hota Hai (1998), she earned the award for Best Supporting Actress at the 44th Filmfare Awards. She also collected the Zee Cine Award for Best Actress in a Supporting Role and the Lux Face of the Year accolades at the Zee Cine Awards. Following this, she was signed on for several movies, some of which were critically and commercially successful films, such as Hey Ram (2000) which was chosen as India's official entry to the Oscars and Badal (2000) which was one of the highest-grossing films of that year.
 Passage 3:To escape the persecution of the Spanish Inquisition, Simon fled to Portugal, and remained for a time at Marialva, and also in the vicinity of Villa-Flor. Not feeling safe in Portugal, he went to Algeria. Miguel went to Italy and dwelt for a time at Nice, France, where his paternal aunt was married to the otherwise unknown Abraham de Torres. He then stayed for a longer time at Livorno, where another sister of his father, the wife of Isaac Cohen de Sosa, prevailed upon him to declare himself publicly a Jew. Soon after this he married Deborah Vaez, a relative of his brother-in-law, Eliahu Vaez, from Algeria, and afterward determined to leave Europe. On 20 July 1660, he, with 152 coreligionists and fellow-sufferers set sail for the West Indies. Soon after his arrival at Tobago his young wife died, and he returned to Europe. He went to Brussels and there entered the military service of Spain.


Output: 3


Input: Consider Input: Question: How many months after the start of the Civil War was Alvarez killed? Passage 1:William "Billy" Walsh (31 May 1921 – 28 July 2006), also referred to as Willie Walsh, was an Irish footballer. Walsh played for several clubs, but most notably with Manchester City, for whom he made more than 100 appearances. As an international, Walsh represented four national teams: after playing for the England Schoolboys XI, he then became a dual Irish international, playing for both Ireland teams – the FAI XI and the IFA XI. In 1949, he was a member of the FAI XI that defeated England 2–0 at Goodison Park, becoming the first non-United Kingdom team to beat England at home. He then emigrated to New Zealand and also played in an unofficial game for their national team. Walsh eventually moved to Australia and settled in Noosa, Queensland. In 2003, he and several other former Manchester City players returned for the last game at Maine Road. He died on 28 July 2006 at the age of 85 and his ashes were interred at the Garden of Remembrance at the City of Manchester Stadium.
 Passage 2:He studied Law at the University of Oviedo and collaborated with Asturian liberal newspapers. In 1898 he was elected to the Congress as Liberal candidate and was appointed Professor of Roman Law at the University of Oviedo. In 1899, he turned into Republican and in 1906 he was elected Republican congressman. He was one of the organizers of the Liberal Block in 1908 against the Conservative Prime Minister Antonio Maura and of the Republican-Socialist Conjunction in 1909. In 1912, he founded with Gumersindo de Azcárate and José Ortega y Gasset the Reformist Party and the League for the Spanish Political Education. In the 1914 elections, 11 Reformist congressmen were elected. It had also a great success in the municipal elections in Asturias. During the Second Republic he founded the Democratic Liberal Republican Party (Partido Republicano Liberal Democrático), but its electoral results were poor: two deputies in 1932 and ten in 1933, when they supported the right-wing government backed by the Spanish Confederation of the Autonomous Right (CEDA). After the beginning of the Civil War, the revolutionary militias imprisoned and killed him.
 Passage 3:Between 1979 and 1983, Strik studied social-cultural work at the social academy "Den Elzent" in Eindhoven. In the meanwhile, she worked at the Kindertelefoon, a phone help line for children. Between 1981 and 1985, she worked as a youth worker at the Cultural Youth Centre "De Effelaar" in Eindhoven. She continued to study international law at the Radboud University between 1985 and 1991, she also studied Turkish between 1989 and 1991. Between 1990 and 1993, she worked a legal consultant at the Youh Advice Centre in Amsterdam. Between 1994 and 1995, she briefly studied law at the Radbouw University. She also took courses at the Red Cross, Clingendael, and the University Utrecht where she studied war law, European law and administrative law. Between 1993 and 1996, she worked at Vluchtelingenwerk, an organization that helps refugees, as a legal consultant. She then worked as a judicial secretary at the court of Zwolle, working for the chamber of refugees. In 1997, she made the switch to politics: she began to work for the GreenLeft parliamentary party as a policy advisor on justice. Between 2001 and 2002, she worked as policy coordinator for the Ministry of Justice.



Output: 2