Input: Mount Vesuvius has erupted many times. The famous eruption in AD 79 was preceded by numerous others in prehistory, including at least three significantly larger ones, the best known being the Avellino eruption around 1800 BC which engulfed several Bronze Age settlements. Since AD 79, the volcano has also erupted repeatedly, in 172, 203, 222, possibly in 303, 379, 472, 512, 536, 685, 787, around 860, around 900, 968, 991, 999, 1006, 1037, 1049, around 1073, 1139, 1150, and there may have been eruptions in 1270, 1347, and 1500. The volcano erupted again in 1631, six times in the 18th century (including 1779 and 1794), eight times in the 19th century (notably in 1872), and in 1906, 1929 and 1944. There have been no eruptions since 1944, and none of the eruptions after AD 79 were as large or destructive as the Pompeian one. Vesuvius entered a new phase in December 1631, when a major eruption buried many villages under lava flows, killing around 3,000 people. Torrents of lahar were also created, adding to the devastation. Activity thereafter became almost continuous, with relatively severe eruptions occurring in 1660, 1682, 1694, 1698, 1707, 1737, 1760, 1767, 1779, 1794, 1822, 1834, 1839, 1850, 1855, 1861, 1868, 1872, 1906, 1926, 1929, and 1944.

Question: When did a severe eruption happen 23 and 38 years after 1906?


Input: In 1860s, the relations between Qatar and Bahrain deteriorated with a series of small disputes. Hostilities emerged when, in 1867, Bahrain arrested a Qatari Bedouin in the Qatari mainland and deported him to Bahrain. In response, the Qataris, led by the Naim tribe, defeated the Bahraini army that was based on the peninsula, effectively expelling them. These tensions led Bahrain, allied with Abu Dhabi, to attack Qatar. The conflict failed to pacify and resulted in an escalation between the two parties in the following year. In October 1867, the Bahraini Hakim Mohammed al Khalifa, sent his brother, Ali Al Khalifa, with a force of 500 men in 24 boats to attack Qatar. He was joined by a force of 200 men under Ahmed al Khalifa. Additionally, Bahrain's ally Abu Dhabi sent 2,000 troops in 70 boats. The attack on Qatar led to the sacking of Bida  and Wakra. A British record later stated "that the towns of Doha and Wakrah were, at the end of 1867 temporarily blotted out of existence, the houses being dismantled and the inhabitants deported". A Qatari counterattack followed the next year, resulting in the destruction of most of the Bahraini naval vessels deployed. The 1868 attack resulted in some 1,000 individuals killed and 60 ships destroyed.

Question: What did a British record state?


Input: While Burma had its hands full with the Ming Chinese invasions, Siam's King Narai attempted to pick off the upper Tenasserim coast and Lan Na. He got Martaban to switch sides in March 1662, and occupied the coast. Fortunately for the Burmese, their troubles with the Ming were over. Their land and naval units recaptured Martaban and Tavoy by December 1662. They followed up on the retreating Siamese but were driven back near Kanchanaburi with heavy losses. Meanwhile, a much larger Siamese army invaded Lan Na, catching the Burmese command completely off guard. The Siamese captured Chiang Mai on 10 February 1663, and drove back Burmese forces that arrived belatedly. In November 1663, Siam launched a two-pronged invasion of the Tenasserim coast: Martaban and Moulmein in the north and Tavoy in the south. Burmese defences withstood several Siamese onslaughts until May 1664 when the invaders retreated before the rainy season arrived. Meanwhile, the Siamese garrison at Chiang Mai was holed up in a deserted city, and its troops were constantly ambushed by resistance forces whenever they ventured out of the city. In late November 1664, the Siamese evacuated Chiang Mai, and returned. This was the last major war between the two kingdoms until 1760 although they traded small raids in 1675-1676, and in 1700-1701.

Question: Who won the Ming Chinese invasions, Ming or Burma?


Input: Plague was one of the hazards of life in Britain from its dramatic appearance in 1348 with the Black Death. The Bills of Mortality began to be published regularly in 1603, in which year 33,347 deaths were recorded from plague. Between then and 1665, only four years had no recorded cases. In 1563, a thousand people were reportedly dying in London each week. In 1593, there were 15,003 deaths, 1625 saw 41,313 dead, between 1640 and 1646 came 11,000 deaths, culminating  in 3,597 for 1647. The 1625 outbreak was recorded at the time as the Great Plague, Until 1665, surpassed it. These official figures are likely to under-report actual numbers.

Question:
Which years saw less than 20000 plague deaths?