Question: Read this and answer the question

According to his autobiography, Avicenna had memorised the entire Quran by the age of 10. He learned Indian arithmetic from an Indian greengrocer,ءMahmoud Massahi and he began to learn more from a wandering scholar who gained a livelihood by curing the sick and teaching the young. He also studied Fiqh (Islamic jurisprudence) under the Sunni Hanafi scholar Ismail al-Zahid. Avicenna was taught some extent of philosophy books such as Introduction (Isagoge)'s Porphyry (philosopher), Euclid's Elements, Ptolemy's Almagest by an unpopular philosopher, Abu Abdullah Nateli, who claimed philosophizing.

Who did Avicenna learn Indian arithmetic from?
Answer: ءMahmoud Massahi


Problem: Middle Persian (Pahlavi) was the official language under the Sasanian dynasty in Iran. It was in use from the 3rd century CE until the beginning of the 10th century. The script used for Middle Persian in this era underwent significant maturity. Middle Persian, Parthian and Sogdian were also used as literary languages by the Manichaeans, whose texts also survive in various non-Iranian languages, from Latin to Chinese. Manichaean texts were written in a script closely akin to the Syriac script.
When did Middle Persian start being u sed?
The answer is the following: 3rd century CE


The Hephthalites (or Ephthalites), also known as the White Huns, were a nomadic confederation in Central Asia during the late antiquity period. The White Huns established themselves in modern-day Afghanistan by the first half of the 5th century. Led by the Hun military leader Toramana, they overran the northern region of Pakistan and North India. Toramana's son Mihirakula, a Saivite Hindu, moved up to near Pataliputra to the east and Gwalior to the central India. Hiuen Tsiang narrates Mihirakula's merciless persecution of Buddhists and destruction of monasteries, though the description is disputed as far as the authenticity is concerned. The Huns were defeated by the Indian kings Yasodharman of Malwa and Narasimhagupta in the 6th century. Some of them were driven out of India and others were assimilated in the Indian society.
In what country did the White Huns settle?
Afghanistan


Input: Arnold Schwarzenegger
On May 20, 2011, Schwarzenegger's entertainment counsel announced that all movie projects currently in development were being halted: "Schwarzenegger is focusing on personal matters and is not willing to commit to any production schedules or timelines". On July 11, 2011, it was announced that Schwarzenegger was considering a comeback film despite his legal problems. He appeared in The Expendables 2 (2012), and starred in The Last Stand (2013), his first leading role in 10 years, and Escape Plan (2013), his first co-starring role alongside Sylvester Stallone. He starred in Sabotage, released in March 2014, and appeared in The Expendables 3, released in August 2014. He starred in the fifth Terminator movie Terminator Genisys in 2015 and will reprise his role as Conan the Barbarian in The Legend of Conan.

What was the first film Schwarzenegger co-starred in with Sylvester Stallone?
Output: Escape Plan


Input: Article: Josip Broz was born on 7 May 1892 in Kumrovec, in the northern Croatian region of Hrvatsko Zagorje in Austria-Hungary.[nb 1] He was the seventh child of Franjo and Marija Broz. His father, Franjo Broz (26 November 1860 – 16 December 1936), was a Croat, while his mother Marija (25 March 1864 – 14 January 1918), was a Slovene. His parents were married on 21 January 1891. After spending part of his childhood years with his maternal grandfather Martin Javeršek in the Slovenian village of Podsreda, he entered primary school in 1900 at Kumrovec, he failed the 2nd grade and graduated in 1905. In 1907 he moved out of the rural environment and started working as a machinist's apprentice in Sisak. There, he became aware of the labour movement and celebrated 1 May – Labour Day for the first time. In 1910, he joined the union of metallurgy workers and at the same time the Social-Democratic Party of Croatia and Slavonia. Between 1911 and 1913, Broz worked for shorter periods in Kamnik (1911–1912, factory "Titan"), Cenkov, Munich and Mannheim, where he worked for the Benz car factory; then he went to Wiener Neustadt, Austria, and worked as a test driver for Daimler.

Now answer this question: What grade did he fail?

Output: 2nd


Problem: Catalan (/ˈkætəlæn/; autonym: català [kətəˈla] or [kataˈla]) is a Romance language named for its origins in Catalonia, in what is northeastern Spain and adjoining parts of France. It is the national and only official language of Andorra, and a co-official language of the Spanish autonomous communities of Catalonia, the Balearic Islands, and Valencia (where the language is known as Valencian, and there exist regional standards). It also has semi-official status in the city of Alghero on the Italian island of Sardinia. It is also spoken with no official recognition in parts of the Spanish autonomous communities of Aragon (La Franja) and Murcia (Carche), and in the historic French region of Roussillon/Northern Catalonia, roughly equivalent to the department of Pyrénées-Orientales.
Where is Catalan the only official language?
The answer is the following:
Andorra