Input: Chinese Influences: The Japanese were forced out of the Korean peninsula in the sixth century, but not before the Koreans had bequeathed to the Yamato court copies of the sacred images and scriptures of Chinese Buddhism. Just as Christianity introduced Mediterranean culture into northern Europe, so Buddhism brought Chinese culture into Japanese society. Throughout the seventh and eighth centuries numerous Japanese monks, scholars, and artists made the perilous trip west across the Sea of Japan to study Chinese religion, history, music, literature, and paintinglater to be brought back for further development in Japan. An outstanding figure of this time was Prince Shotoku, who in 604 developed the "Seventeen-Article Constitution," outlining a code of human conduct and the ideals of state as a basic law for the nation. He also established relations with the Sui dynasty in China. Through him, the Japanese imperial court developed Chinese patterns of centralized government, with its formal bureaucracy of eight court ranks. The Chinese calendar was used to calculate the year of Japan's foundation by counting back the 1,260 years of the Chinese cosmological cycle. Thus, 660 b.c. is still the official date celebrated nationwide. At this early stage in its history Japan was already (for the most part) only nominally ruled by the emperor. De facto power was exercised by the militarily and economically strongest family. The Sogas had promoted Buddhism as an imperially sanctioned counterweight to the native Shinto religion, along with the new Chinese customs, to weaken the influence of their more conservative rivals. But they in turn were ousted in a.d. 645 by Nakatomi Kamatari, founder of the great Fujiwara clan, which was to rule Japanese affairs for hundreds of years and provide prominent advisers to the emperor even up to the 19th century.

Does the response "The Sogas" correctly answer the question "Who established relations with the Sui dynasty in China?"?
***
Output: no

Input: Cathy Wallace did not always know what she wanted to be when she grew up. She wanted to help people, but did not know exactly how. A suggestion from friends sparked her interest. "When I was in college, I thought I wanted to be a doctor," she said. "I found I didn't want to do that and realized an interest in psychology. I didn't know what I wanted to do, but all my friends thought I should go into law because I was always on a soapbox. I decided to try it." Recently, Wallace received the Outstanding Woman Lawyer in Public Interest Law Award. The award was voted on and presented by the women's caucus of West Virginia University College of Law. Wallace, 38, called Gastonia home from the age of 8 until she graduated from Hunter Huss High School in 1983. Her parents, Carter Bond, 66, and Carol Bond, 59, are still residents of Gastonia. From Hunter Huss, she moved on to pursue a degree at Pfeiffer University in Misenheimer. After graduation from Pfeiffer in 1987 with a bachelor's degree in both biology and psychology, she worked as legal secretary for attorney Louis A. Bledsoe Jr. for a year and a half. "Working for Louis Bledsoe was a pivotal moment," she said. "That was when I decided to go into the practice of law." She received her law degree at the University of Arkansas in 1992 and began her legal career in Public Defender Corp. in Princeton. She also taught criminal justice classes at Bluefield College in West Virginia. Wallace lives in Athens, W. Va., with her husband Rob, 37, and her daughters Rachel, 11, and Claire, 5.

Does the response "Samantha Bond" correctly answer the question "What is the name of Carter Bond's and Carol Bond's daughter?"?
***
Output: no

Input: To protect its seagoing interests and trade routes, Portugal established strategic garrisons in Goa (India), Malacca (East Indies), and Hormuz in the Persian Gulf. Portuguese explorers then embarked upon Macau (now Macao), the Congo, and various other parts of Africa, including the Sudan. The Portuguese policy was to avoid armed strife and to develop a trade empire, rather than to conquer nations. To this end it succeeded with relatively few blood-soaked episodes in its colonial history. Adventures abroad, however, proved disastrous during the second half of the 16th century. In 1557 the 14-year-old boy-king Sebastiao ascended the throne, the beginning of a calamitous reign that was to end at the battle of Alcacer-Quiber (Morocco) in pursuit of a vain crusade. Sebastiao's untimely demise, alongside some 18,000 ill-prepared, badly led followers, set the stage for a crisis of succession. For many years afterwards, legends and rumors bizarrely insisted that the king was still alive, and imposters turned up from time to time claiming the throne; those who were plausible enough to be deemed a threat were summarily executed. In fact, the only rightful claimant to the crown was the elderly Prince Henry. But after two years of alternating between the throne and his sickbed, he died, heirless. Surveying the situation and smelling an opportunity, Spain occupied the power vacuum, and Portugal's neighbor and long-time antagonist became its master. Spanish rule dictated Portugal's inadvertent involvement in Spain's ongoing wars. In 1587 a squadron of British ships commanded by Francis Drake attacked the Algarve (now a "legitimate target" as Spanish territory) and sacked Sagres, thus depriving the world of the relics of Henry the Navigator. Nine years later Faro was torched. The 1386 Treaty of Windsor, by which Britain and Portugal had pledged eternal friendship, seemed a distant memory. Portugal's empire was gradually eroded, and many of its trading posts (with the notable exception of Brazil) were picked off by the British and Dutch. Finally, after 60 years of Spanish rule, Portuguese noblemen (aided by the French, then at war with Spain) organized a palace coup and restored independence. The Great Disaster Portugal's greatest misfortune struck on All Saint's Day, 1 November 1755.

Does the response "30 years" correctly answer the question "How long after Sebastiao ascended to the throne did British ships commanded by Francis Drake sack Sagres?"?
***
Output: yes

Input: We need natural resources for just about everything we do. We need them for food and clothing, for building materials and energy. We even need them to have fun. Table 2.1 gives examples of how we use natural resources. Can you think of other ways we use natural resources? Use Vehicles Resources Rubber for tires from rubber trees Steel frames and other metal parts from minerals such as iron Example iron ore Electronics Plastic cases from petroleum prod- ucts Glass screens from minerals such as lead lead ore Use Homes Resources Nails from minerals such as iron Timber from trees Example spruce timber Jewelry Gemstones such as diamonds Minerals such as silver silver ore Food Sunlight, water, and soil Minerals such as phosphorus corn seeds in soil Clothing Wool from sheep Cotton from cotton plants cotton plants Recreation Water for boating and swimming Forests for hiking and camping pine forest Some natural resources are renewable. Others are not. It depends, in part, on how we use them.

Does the response "Natural resources" correctly answer the question "What do we need for food and clothing"?
***
Output:
yes