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: Who was the Han emperor when the Xianbei killed the Xiongnu chanyu Youliu? Passage 1:In 2010, in collaboration with the actor Enrico Lo Verso and the musician Gabriele Denaro, he created the work Sensibilità Sonore, dedicated to topics such as marginalization, poverty and childhood. The following year, he produced the documentary "Il rimorso" (the remorse), a video that narrates violence against the women. The project was being projected every year during national conferences in various Italian cities and received an award for the Social Communication. The journal Fatto Quotidiano considered it as "a virtuous example that denounces the wrong". It was previewed at the Camera dei deputati della regione Lazio (Chamber of Deputies of the Region of Lazio) and introduced the conference "Lui per Lei - un ponte fra Napoli e New York" at the city Partenopea and at the municipality of Fiumincino by the iniziative of the Assesorato alle politiche sociali (Department of social policies) as well as the event "Io non ci sto più" (I am non there anymore) dedicated to the memory Eligia Ardita, a victim of a femicide act. 2013 he directed the documentary "Streghe a Pachino: Un caso giornalistico irrisolto" (Witches at Pachino: An unsolved journalistic case), recovering after 50 years, a mysterious fact initially narrated by Beppe Ferrara in 1963 that burst a war between the media, the politics and the omertà. The same year he films three special documentaries about Mario Sesti, Sergio Donati and the musician Mauro Di Domenico. He carried out interviews with personalities from the show business, created web projects, such as the ObamaStay, a project that promotes and supports the election of the American president, which received the appreciation from the Woman for Obama and from the Electionpaper, concerning the Italian elections reported by the press agencies Agi and RAI. wrote for the Sindacato Nazionale di Critica (National Syndicate of Italian Film Critics). He contributed in the distribution of the film "Midway" and with the production company Arbash for the film "Blaise. He was responsible for the communication for the New World of the Cirque du Soleil in one of their stops in Sicily, for the direction of the Euro-Mediterranean award that took place at the Campidoglio in Rome and the artistic coordination of the Western Fest of Orvieto and the Indie Media Fest. From 2014 he is devoted actively for the promotion of the Patrimonio Verghiano, redeveloping the historical Cunziria, the original film location of the famous Cavalleria Rusticana, directed by Franco Zeffirelli and inspiration scenery of the homonymous novel of the writer Giovanni Verga. Muscoso eventually turned the ancient village into a stage denominating it Teatro Cunziria".
 Passage 2:The Xianbei (; ) were an ancient nomadic people that once resided in the eastern Eurasian steppes in what is today Mongolia, Inner Mongolia, and Northeastern China. They originated from the Donghu people who splintered into the Wuhuan and Xianbei when they were defeated by the Xiongnu at the end of the 3rd century BC. The Xianbei were largely subordinate to larger nomadic powers and the Han dynasty until they gained prominence in 87 AD by killing the Xiongnu chanyu Youliu. However unlike the Xiongnu, the Xianbei political structure lacked the organization to pose a concerted challenge to the Chinese for most of their time as a nomadic people. After suffering several defeats by the end of the Three Kingdoms period, the Xianbei migrated south and settled in close proximity to Chinese society and submitted as vassals, being granted the titles of Dukes. As the Xianbei Murong, Tuoba and Duan tribes were one of the Five Barbarians who were vassals of the Han Chinese Western Jin and Eastern Jin dynasties, they took part in the Uprising of the Five Barbarians as allies of the Han Chinese Eastern Jin against the other four barbarians, the Xiongnu, Jie, Di and Qiang. The Xianbei were at one point all defeated and conquered by the Di Former Qin empire before it fell apart at the Battle of Fei River at the hands of the Eastern Jin. The Xianbei later founded their own states and reunited northern China as the Northern Wei. These states opposed and promoted sinicization at one point or another but trended towards the latter and had merged with the general Chinese population by the Tang dynasty.
 Passage 3:For the rest of the 1970s, Schneider opted to star in small-budgeted, independent European productions, such as the little-seen Swiss period piece Violanta (1976, with a young Gérard Depardieu), and three consciously feministic works: the Italian production I Belong to Me (Io Sono Mia) (1978, with Stefania Sandrelli); the graphic, disturbing Memoirs of a French Whore (French title: La Dérobade) (1978, alongside Miou-Miou, and for which Schneider was nominated for Best Supporting Actress at the 1980 5th César Awards); and the lesbian Dutch drama A Woman Like Eve, directed by Nouchka van Brakel, where Schneider plays the bohemian love interest of conflicted Monique van de Ven who is married to and has children with Peter Faber.


Output: 2


Input: Consider Input: Question: When did James Douglas become a regional chief executive of the Hudson's Bay Company? Passage 1:On August 26, 2012, Alex Shelley and A.J. Kirsch unsuccessfully challenged Forever Hooligans (Alex Koslov and Rocky Romero) for the IWGP Junior Heavyweight Tag Team Championship at a Sacramento Wrestling Federation (SWF) event in Gridley, California. Following the match, Kushida saved Shelley from a beatdown at the hands of Koslov and Romero. Shelley and Kushida began forming the tag team "Time Splitters" and scoring several wins over Koslov and Romero in multiple man teamed matches, after debuting their new double-team finishing maneuver, the I-94. On October 8 at King of Pro-Wrestling, Time Splitters unsuccessfully challenged Forever Hooligans for the IWGP Junior Heavyweight Tag Team Championship. On October 21, the Time Splitters entered the 2012 Super Jr. Tag Tournament, defeating Jado & Gedo in their first round match. On November 2, Shelley and Kushida defeated Suzuki-gun (Taichi and Taka Michinoku) to advance to the finals, where, later that same day, they defeated Apollo 55 to win the tournament and become the number one contenders to the IWGP Junior Heavyweight Tag Team Championship. On November 11 at Power Struggle, the Time Splitters defeated Forever Hooligans in a rematch to win the IWGP Junior Heavyweight Tag Team Championship. Time Splitters made their first successful title defense on February 10, 2013, at The New Beginning, defeating Forever Hooligans in the third title match between the two teams. Their second successful defense took place on March 3 at New Japan's 41st anniversary event, where they defeated Jyushin Thunder Liger and Tiger Mask. On April 5, Shelley received his first shot at the IWGP Junior Heavyweight Championship, but was defeated by the defending champion, Prince Devitt. Two days later at Invasion Attack, Time Splitters defeated Devitt and Ryusuke Taguchi for their third successful defense of the IWGP Junior Heavyweight Tag Team Championship. On May 3 at Wrestling Dontaku 2013, Time Splitters lost the IWGP Junior Heavyweight Tag Team Championship back to the Forever Hooligans in their fourth defense.
 Passage 2:When Seattle decided to try to put itself on the map with the futuristic Century 21 Exposition — the 1962 World's Fair — high culture was on the agenda, as well as popular entertainment along the lines of "Gracie Hansen's Paradise International" and "Les Poupees de Paris," an adult-themed puppet show, both of which aspired more to a Gay Nineties naughtiness than to anything artistic. The Opera House on the grounds of the center was rebuilt for the occasion (and would be rebuilt again 2001–2003 as McCaw Hall); performers at the fair included Igor Stravinsky, Benny Goodman, and Victor Borge; the Seattle Symphony brought in opera singers and staged Aida. The Fine Arts Pavilion (later the Exhibition Hall) managed to bring in works by Titian, Van Dyck, and Monet, as well as more contemporary pieces by Jackson Pollock, Georgia O'Keeffe, and Alexander Calder and by Pacific Northwest artists Tobey, Callahan, and Graves. There was also a significant exhibition of Asian art and Northwest Coast Indian art. The exposition also commissioned a massive abstract mural by Horiuchi, which still forms the backdrop to the stage at Seattle Center's Mural Amphitheater.
 Passage 3:The Colony of Vancouver Island had been created in 1849 to bolster British claims to the whole island and the adjacent Gulf Islands, and to provide a North Pacific home port for the Royal Navy at Esquimalt. By the mid-1850s, the Island Colony's non-indigenous population was around 800 people; a mix of mostly British, French-Canadian, Metis, Hawaiians, but with handfuls of Iroquoians and Cree in the employ of the fur company, and a few Belgian and French Oblate priests (thousands of First Nations died due to the smallpox epidemic). Three years earlier, the Treaty of Washington had established the boundary between British North America and the United States of America west of the Rocky Mountains along the 49th parallel. The mainland area of present-day British Columbia, Canada was an unorganised territory under British sovereignty until 1858. The region was under the de facto administration of the Hudson's Bay Company, and its regional chief executive, James Douglas, who also happened to be Governor of Vancouver Island. The region was informally given the name New Caledonia, after the fur-trading district which covered the central and northern interior of the mainland west of the Rockies.
Output: 3