Definition: 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: Question: How many years did the ruler who had to deal with Bulgarian and Croat incursions rule the area? Passage 1:On 16 June 2013, in a series of telephone interviews Kinnear claimed he had been appointed as director of football for Newcastle United. In a Talksport interview over the telephone on 17 June 2013, Kinnear claimed to have replaced someone called "Derek Lambesi" (sic) as the club's director of football, signed Dean Holdsworth at Wimbledon for £50,000 (actually £650,000), sold Robbie Earle (retired a year after Kinnear left), signed goalkeeper Tim Krul when he was previously manager (actually signed by Graeme Souness three years prior) and has been awarded the LMA Manager of the Year award three times despite only winning the award once, he also said he'd never been sacked in his life. Kinnear claimed to have signed John Hartson on a free when he in fact paid £7.5 million for the striker. He also mispronounced the names of Yohan Cabaye, Hatem Ben Arfa, Shola Ameobi and others in the Talksport interview. The appointment, a three-year contract, was confirmed by Newcastle United on 18 June. The confusion around Kinnear's appointment to the role was criticised by former club chairman Freddy Shepherd in an interview with BBC Sport. Kinnear drew criticism when the 2013 summer transfer window closed with Kinnear failing to make a single permanent signing, lone recruit Loïc Rémy having been signed on loan from Queens Park Rangers. This criticism intensified at the end of the 2014 winter transfer window with Kinnear failing again to make a permanent signing, this after the £20 million sale of midfielder Yohan Cabaye, with Luuk de Jong having been brought in on loan from Borussia Mönchengladbach.
 Passage 2:Larry Walker, Jason Bay, Joey Votto, and Justin Morneau are the only players to win the Tip O'Neill Award at least three times. Walker has won the award nine times, and Votto has won it seven times. Three winners—Walker, Terry Puhl, and Rob Ducey—are members of the Canadian Baseball Hall of Fame. The award has been presented to one amateur player, Daniel Brabant. Walker, Votto, and Justin Morneau won the MLB Most Valuable Player (MVP) Award alongside the Tip O'Neill Award; the trio are the only Canadians to win the MLB MVP Award. Éric Gagné, the 2002 and 2003 recipient, compiled a major league record of 84 consecutive save opportunities converted from 2002 to 2004 and won the Cy Young Award in 2003. He and John Axford went on to win the Rolaids Relief Man Award in the same year as the Tip O'Neill Award. Bay became the first Canadian to win the Rookie of the Year Award, which he won the same year he won his first Tip O'Neill Award. Votto is the only award winner to also win the Hank Aaron Award.
 Passage 3:Since about 560, the Avars had ruled over large parts of the Pannonian Basin and Carantania southeast of Francia, though in the last decades, the Avar Khaganate had to deal with Bulgarian and Croat incursions. To secure the frontier of his empire and the traffic on the trade routes to the east, Charlemagne allied with Khan Krum of Bulgaria and the Croatian duke Vojnomir, and from 791 launched several campaigns against the Avars, where he, according to the Vita Karoli Magni, encountered only modest opposition. In 796 Carolingian forces under Charlemagne's son Pepin of Italy destroyed the main Avar fortress called the Ring of the Avars and made the Khagan a Frankish vassal, while the remaining Avars retreated behind the Tisza River. The victory is perpetuated by the poem De Pippini regis Victoria Avarica. 

Output:
3