Input: French and British Ties and Occupation: The daughter of Ferdinand and Isabella married the son and heir of the Holy Roman Emperor, Maximilian of Hapsburg. The Spanish crown duly passed to the Hapsburgs, and Spain remained in their hands until the feeble-minded Carlos II died in 1700, leaving no heir. France seized the chance to install the young grandson of Louis XIV on the Spanish throne. A rival Hapsburg claimant was supported by Austria and Britain, who saw a powerful Spanish-French alliance as a major threat. In the subsequent War of the Spanish Succession (17021713) most of the old kingdom of Aragon, including the Balearics, backed the Hapsburgs. Britain seized Gibraltarin the name of the Hapsburg claimantand retained it when the war was over. In 1708 Britain captured Menorca, and the magnificent harbor of Mahon (Mao), for the Royal Navy. England clung to it even when Bourbon forces captured Mallorca at the end of the war. Menorca changed hands between Britain, France, and Spain five more times in less than a century. Britain finally ceded the island to Spain in the year 1802, under the terms of the Treaty of Amiens. By 1805, Spain was once more aligned with France, and Spanish ships fought alongside the French against Nelson at Trafalgar. Napoleon came to distrust his Spanish ally and forcibly replaced the king of Spain with his own brother, Joseph Bonaparte. A French army marched in to subdue the country. The Spanish resisted and, aided by British troops commanded by the Duke of Wellington, drove the French out. What British historians call the Peninsular War (18081814) is known in Spain as the War of Independence. In the 19th century, practically all of Spain's possessions in the Americas broke away in the wake of the Napoleonic Wars, and the few that remained were lost at the end of the 19th century. The Balearics, further neglected, were beset with poverty and outbreaks of disease. However, toward the 20th century, things began to improve on the islands, with Mallorca reaping the rewards of successful agricultural crops and Menorca launching an export shoe industry.

Does the response "2 years" correctly answer the question "How many years passed between the death of Carlos II and the start of the War of the Spanish Succession?"?
***
Output: yes

Input: When you get sick, your body springs to action. Your body starts to fight the illness. Thats why you want to eat right and get plenty of sleep. You need a strong immune system to fight off illness. Plants dont have an immune system. That does not mean they do not get sick. Plants are affected by disease just like us. Typically, their first line of defense is the death of part of the plant. This prevents the infection from spreading. Many plants also produce special chemicals to fight disease. For example, willow trees produce a chemical to kill the bacteria. The same compound is used in many acne products. You can see a picture of a willow tree in Figure Plants may be smarter than we think. No, they cannot talk to each other. They may be able to send messages, though.

Does the response "To fight the infection" correctly answer the question "How might death of part of a plant help the plant?"?
***
Output: yes

Input: The properties of matter depend on the types of atoms that matter is made of. Matter can exist in two forms. It can be a pure substance. This means it is not mixed with anything. It can also be a combination of different substances. This means it can be a mix of different types of atoms. You may recall that atoms differ based on the numbers of protons they contain. Some atoms contain only one proton such as Hydrogen. Other atoms contain many protons. There are many types of atoms. For example, Helium has two protons. An Oxygen atom has eight. Water is composed of a two types of atoms. Water is made of two Hydrogen atoms and one Oxygen atoms. There are only so many types of atoms. These atoms can be mixed into an almost limitless amount of substances. So what do we call a substance that has only a single type of atom?

Does the response "1. Hydrogen has only one proton, why Helium has 2 Protons. 2-1 =1" correctly answer the question "How many more protons does Helium have than Hydrogen?"?
***
Output: yes

Input: Hannah Harvey was a ten year old that had many friends in school. She lived in New York and enjoyed doing gymnastics and playing soccer. One day, Hannah came home from school and her parents greeted her. She knew that something was different by the expressions on their faces. Even Jackson, Hannah's dog, was acting different. Hannah asked why everyone was being so strange. Hannah's father, who was known as Pop, explained to Hannah that his job was forcing him to move. Hannah did not seem to think this was too big of a deal. Then, Hannah's mother explained that they were moving to Kenya. Kenya, she explained, was a place in Africa and life would be very different there. As Hannah began to cry thinking about all of her friends at home, Hannah's mother calmed her with a gentle touch. Jackson began howling as Hannah cried, but was also calmed by Hannah's mother. Hannah spent the next two weeks visiting her friends and saying her goodbyes. She did not know the next time she would be home. She cried very hard when she said goodbye to her best friend, Susan. Susan did not quite understand where Kenya was, but promised to visit Hannah. The next day, Hannah boarded a plane with her family. At first, they thought that Jackson could not come with them. However, Hannah worked hard and helped make sure that he had all of his shots so that he could come. After he had them all, the airport said it was OK for Jackson to come! The Harvey family left and off they went across the ocean to begin their new life in Kenya.

Does the response "She hated them" correctly answer the question "Why was Hannah crying about her friends at home?"?
***
Output:
no