Input: Article: The era began in the wake of the Permian–Triassic extinction event, the largest well-documented mass extinction in Earth's history, and ended with the Cretaceous–Paleogene extinction event, another mass extinction which is known for having killed off non-avian dinosaurs, as well as other plant and animal species. The Mesozoic was a time of significant tectonic, climate and evolutionary activity. The era witnessed the gradual rifting of the supercontinent Pangaea into separate landmasses that would eventually move into their current positions. The climate of the Mesozoic was varied, alternating between warming and cooling periods. Overall, however, the Earth was hotter than it is today. Non-avian dinosaurs appeared in the Late Triassic and became the dominant terrestrial vertebrates early in the Jurassic, occupying this position for about 135 million years until their demise at the end of the Cretaceous. Birds first appeared in the Jurassic, having evolved from a branch of theropod dinosaurs. The first mammals also appeared during the Mesozoic, but would remain small—less than 15 kg (33 lb)—until the Cenozoic.

Now answer this question: When did the Mesozoic end?

Output: Cretaceous–Paleogene extinction

Input: Article: According to Y chromosome studies by Sanchez et al. (2005), Cruciani et al. (2004, 2007), the Somalis are paternally closely related to other Afro-Asiatic-speaking groups in Northeast Africa. Besides comprising the majority of the Y-DNA in Somalis, the E1b1b1a (formerly E3b1a) haplogroup also makes up a significant proportion of the paternal DNA of Ethiopians, Sudanese, Egyptians, Berbers, North African Arabs, as well as many Mediterranean populations. Sanchez et al. (2005) observed the M78 subclade of E1b1b in about 77% of their Somali male samples. According to Cruciani et al. (2007), the presence of this subhaplogroup in the Horn region may represent the traces of an ancient migration from Egypt/Libya. After haplogroup E1b1b, the second most frequently occurring Y-DNA haplogroup among Somalis is the West Asian haplogroup T (M70). It is observed in slightly more than 10% of Somali males. Haplogroup T, like haplogroup E1b1b, is also typically found among populations of Northeast Africa, North Africa, the Near East and the Mediterranean.

Now answer this question: What language group speakers are ethnic Somalis closely related to?

Output: Afro-Asiatic

Input: Article: It was ten years after the inception of the youth program, La Masia, when the young players began to graduate and play for their first team. One of the first graduates, who would later earn international acclaim, was previous Barcelona coach Pep Guardiola. Under Cruyff's guidance, Barcelona won four consecutive La Liga titles from 1991 to 1994. They beat Sampdoria in both the 1989 UEFA Cup Winners' Cup final and the 1992 European Cup final at Wembley, with a free kick goal from Dutch international Ronald Koeman. They also won a Copa del Rey in 1990, the European Super Cup in 1992 and three Supercopa de España trophies. With 11 trophies, Cruyff became the club's most successful manager at that point. He also became the club's longest consecutive serving manager, serving eight years. Cruyff's fortune was to change, and, in his final two seasons, he failed to win any trophies and fell out with president Núñez, resulting in his departure. On the legacy of Cruyff's football philosophy and the passing style of play he introduced to the club, future coach of Barcelona Pep Guardiola would state, "Cruyff built the cathedral, our job is to maintain and renovate it."

Now answer this question: What failure did Cruyff have in his last two seasons as manager with Barcelona?

Output:
win any trophies