Input: The Reconquest: The aim of the Crusades in Spain was the eviction of the Muslims. After the recovery of Jerusalem in 1099, it took four hundred years of sieges and battles, treaties, betrayals, and yet more battles, before Christian kings and warlords succeeded in subduing the Moors. On 10 September 1229, a Catalan army led by King Jaume I of Aragon and Catalunya took the Mallorcan shore near the present-day resort of Santa Ponca. The defenders retreated inside the walls of Palma, but on the last day of 1229 the city fell, and pockets of resistance throughout the island were also defeated. Jaume I proved to be an enlightened ruler who profited from the talents of the Moorsconverted by force to Christianityas well as of the island's large Jewish and Genoese trading communities. Mallorca prospered. The Moors on Menorca speedily agreed to pay an annual tribute to Aragon and were left in peace. The island's tranquility lasted until 1287, when Alfonso III of Aragon, smarting over a series of humiliations at the hands of his nobles, found a pretext for invasion. The Moors were defeated and expelled or killed. In contrast to Mallorca, Menorca's economy was devastated for decades. Jaume I died after reigning in Aragon for six decades, but he made the cardinal error of dividing between his sons the lands he had fought for so long to unite. At first this resulted in an Independent Kingdom of Mallorca, under Jaume II, followed by Sanc and Jaume III. But family rivalry triggered the overthrow of Jaume III by his cousin Pedro IV, who then seized the Balearics for Aragon. Attempting a comeback, Jaume was killed in battle near Llucmajor in 1349. A newly unified Christian Spain under the Catholic Monarchs, Ferdinand and Isabella, completed the Reconquest, defeating the only Moorish enclave left on the Iberian peninsula, Granada, in 1492. However, the centralized kingdom failed to incorporate the Balearics politically or economically.

Does the response "They tried to survive" correctly answer the question "What three things did we learn about the Moors?"?
***
Output: yes

Input: The inhabited history of the Las Vegas Valley stretches to 23,000 b.c. , when much of the area was covered by a prehistoric lake. During this period, the indigenous people lived in caves, hunting the mammals that gathered at the shoreline. The landscape of the valley changed dramatically over the next 200 centuries. The glaciers feeding the lake melted away and the lake evaporated. Fossils tell an obscure story of man's slow and sporadic development. Around 3000 b.c. , native Archaic Indians began to develop a lasting hunting and gathering culture. By this time, the valley was in much the same geographic state as it exists in today, with one exceptionthe presence of artesian springs that bubbled to the surface in several areas. These springs fed a network of streams draining through the Las Vegas Wash to the Colorado River. The areas surrounding the springs were desert oases: sprawling collections of grasses, trees, and wildlife. Many springs lay in areas that would eventually become the center of the modern Las Vegas metropolis. For about 4000 years, the Archaics thrived in a culture that included many signs of early civilization. Signs of even more advancement appeared halfway through the first millennium a.d. , when the Anasazi Indians inhabited the valley. Far more progressive than the Archaics, the Anasazi utilized such formal agricultural techniques as irrigation to assist their harvest. This permitted the Anasazi to achieve a benchmark of advanced societythe ability to live in permanent shelters year-round without need to follow wildlife. Mysteriously, the Anasazi vanished from the valley around a.d.

Does the response "Because glaciers feeding the lake melted away" correctly answer the question "Why did the prehistoric lake disappear from the Las Vegas Valley?"?
***
Output: yes

Input: You will remember the name of Garibaldi, the Italian patriot, who with Mazzini had been stirring up trouble for the Austrians. They finally pursued him so closely that he had to leave Italy. He came to America and set up a fruit store in New York City, where there were quite a number of his countrymen. By 1854, he had made a great deal of money in the fruit business, but had not forgotten his beloved country, and was anxious to be rich only in order that he might free Italy from the Austrians. He sold out his business in New York, and taking all his money, sailed for Italy. When the war of 1859 broke out, he volunteered, and fought throughout the campaign. But the compromising terms of peace galled him, and he was not satisfied with a country only half free. In the region around Genoa, he enrolled a thousand men to go on what looked like a desperate enterprise. Garibaldi had talked with Cavour, and between them, they had schemed to overthrow the kingdom of the Two Sicilies and join this land to the northern country. Of course, Cavour pretended not to know anything about Garibaldi, for the king of Naples and Sicily was supposed to be a friend of the king of Sardinia. Nevertheless, he secretly gave Garibaldi all the help that he dared, and urged men to enroll with him.

Does the response "Mazzini" correctly answer the question "Who fought in the war of 1859?"?
***
Output: no

Input: Not until 1998 did al Qaeda undertake a major terrorist operation of its own, in large part because Bin Laden lost his base in Sudan. Ever since the Islamist regime came to power in Khartoum, the United States and other Western governments had pressed it to stop providing a haven for terrorist organizations. Other governments in the region, such as those of Egypt, Syria, Jordan, and even Libya, which were targets of some of these groups, added their own pressure. At the same time, the Sudanese regime began to change. Though Turabi had been its inspirational leader, General Omar al Bashir, president since 1989, had never been entirely under his thumb. Thus as outside pressures mounted, Bashir's supporters began to displace those of Turabi. The attempted assassination in Ethiopia of Egyptian President Hosni Mubarak in June 1995 appears to have been a tipping point. The would-be killers, who came from the Egyptian Islamic Group, had been sheltered in Sudan and helped by Bin Laden. When the Sudanese refused to hand over three individuals identified as involved in the assassination plot, the UN Security Council passed a resolution criticizing their inaction and eventually sanctioned Khartoum in April 1996. A clear signal to Bin Laden that his days in Sudan were numbered came when the government advised him that it intended to yield to Libya's demands to stop giving sanctuary to its enemies. Bin Laden had to tell the Libyans who had been part of his Islamic army that he could no longer protect them and that they had to leave the country. Outraged, several Libyan members of al Qaeda and the Islamic Army Shura renounced all connections with him. Bin Laden also began to have serious money problems. International pressure on Sudan, together with strains in the world economy, hurt Sudan's currency. Some of Bin Laden's companies ran short of funds. As Sudanese authorities became less obliging, normal costs of doing business increased. Saudi pressures on the Bin Laden family also probably took some toll. In any case, Bin Laden found it necessary both to cut back his spending and to control his outlays more closely.

Does the response "The sanctions were imposed a year after the failed attempt to assassinate Hosni Mubarak" correctly answer the question "How long after the failed attempt to assassinate Hosni Mubarak did the U.N. impose sanctions on Sudan?"?
***
Output:
yes