TASK DEFINITION: Given a question and a context passage, generate the answer having the word or phrase from the context passage. Here, the answer should be a shortest continous span from the passage.
PROBLEM: Context: In the county, the population was spread out with 23.5% under the age of 18, 7.8% from 18 to 24, 28.5% from 25 to 44, 25.9% from 45 to 64, and 14.2% who were 65 years of age or older. The median age was 40 years. For every 100 females, there were 93.8 males. For every 100 females age 18 and over, there were 90.5 males.
Question: Which age group is smaller: 25 to 44 or 45 to 64?

SOLUTION: 45 to 64

PROBLEM: Context: The film Calvary is a parable of the betrayal of the Irish people by the Irish Catholic Church.Context for the story: The Irish Catholic Church which was a pillar of, and defined Ireland's soul has been revealed to have consciously and methodically covered up institutional atrocities perpetrated by themselves.Set in rural Ireland, the film begins in a confessional where Father James Lavelle (Brendan Gleeson) is taking confession. The voice on the other side speaks, "I was seven the first time I tasted semen". "Certainly a startling opening line", Father James replies. The voice asks if he's being ironic. Father James takes a more serious tone. The voice tells him that he was molested both orally and anally by a priest when he was seven and he bled a lot. Father James asks if he would like to report the priest. The voice says that the priest died a long time ago and that it didn't matter. "Killing a bad priest isn't a big deal, but if you kill a good priest, people take notice". The voice says he's going to kill Father James in seven days on the beach.James lives a very simple life. He sleeps in a small room with a bed and his only two possessions are his crucifix and his dog. He takes walks on the beach and interacts with the town people. On the beach, he sees his altar server is drawing a landscape. In it there are two figures. James asks who they are and the boy says he doesn't know, but he has been having a lot of dreams about ghosts lately.After mass, Father James is speaking with Father Leary (David Wilmot) who is gossiping about the townsfolk, sharing information he's heard in confession and making racially inappropriate comments about Simon (Isaach De Bankole) the only black man in the town. Father James doesn't say a word about the threat on his life.James' daughter Fiona (Kelly Reilly) comes to town to lay low after a botched suicide attempt. The townsfolk didn't know it was possible for a Catholic priest to have a daughter. James explains that he became a priest after his wife died. The locals in the pub try to flirt with Fiona, but she has no interest. James does not drink. Its not because he doesn't like alcohol. Its because he likes it too much.Later in the day, James visits with Veronica Brennan (Orla ORourke) who was wearing sunglasses during mass to cover up her black eye. She says her husband did it. So James goes to meet her husband, the local butcher Jack Brennan (Chris O'Dowd) and confronts him. Jack is surprised, but good natured about the whole thing. He dismisses his wife by saying she's probably bi-polar. He says it wasn't him, but it might have been her boyfriend Simon. James questions the infidelity, but Jack explains that it works for them. They each do their own thing. James meets with Simon, who takes offense to the charge and passively threatens James and tells him to mind his own business.James spends time with an elderly man known only as The Writer (M. Emmet Walsh) who asks for a Walther PPK, James Bonds favorite gun and the gun Hitler used to kill himself. The Writer explains that he doesn't want to get old and feeble. He'd rather just take his own life when the time is right.James meets with the local Bishop and tells him about the threat during the confession. He also reveals that he knows who the man is and believes the threat is real. The Bishop says that because the man didn't ask for repentance and there was the threat of a law being broken, James would not violate and church law in speaking with the police.James goes to speak with his friend Inspector Stanton (Gary Lydon), who seems to be spending some time with a male prostitute named Leo (Owen Sharpe). Leo keeps making lewd advances on James and offers to have sex with him in his vestments because he knows that's what priests like. Eventually Leo leaves and
Question: Who does James talk to?

SOLUTION: jack brennan

PROBLEM: Context: In 1991, the governments of the U.S. and China are on the verge of a major trade agreement, with the President of the United States due to visit China to seal the deal. The CIA learns that its asset Tom Bishop (Brad Pitt) has been captured trying to free a Briton, Elizabeth Hadley (Catherine McCormack), from a People's Liberation Army prison in Su Chou near Shanghai, China. Bishop is being questioned under torture and will be executed in 24 hours unless the U.S. government claims him. If the CIA claims Bishop as an agent, they risk jeopardizing the trade agreement. Exacerbating Bishop's situation is the fact that he was operating without permission from the Agency. Attempting to deal quickly with the situation, CIA executives call in Nathan Muir (Robert Redford), an aging mid-level case officer on his last day before retirement and the man who recruited Bishop. Although they tell Muir they simply need him to act as a "stop gap" to fill in some holes in their background files, the officials are hoping he will give them the pretext they need to justify letting Bishop die. The CIA executives are unaware that Muir had been tipped off about Bishop's capture prior to arriving at the CIA's headquarters, by fellow CIA veteran Harry Duncan (David Hemmings), for whom Bishop had been working an operation in Hong Kong before going rogue. Muir first attempts to save Bishop by leaking the story to CNN through a contact in Hong Kong, believing that public pressure would force the CIA to rescue Bishop. The tactic only stalls them, however, and is stymied when a phone call to the U.S. Federal Communications Commission from CIA Deputy Director Charles Harker (Stephen Dillane) results in CNN retracting the story. During the debriefing, Muir describes how he recruited Bishop for an operation when Bishop was a U.S. Marine scout sniper during the Vietnam War. Muir also discusses their 1976 tour of duty in Berlin, Germany, where Bishop was tasked with procuring East German assets, with Muir commanding, as well as Bishop's spy work in Beirut, Lebanon in 1985 during the War of the Camps, the latter being the last time the two saw each other. During the mission in Lebanon, Bishop met Hadley, and the two began developing romantic feelings for each other. However, it is revealed that Hadley was involved in a bombing of the Chinese embassy in Britain, causing her to flee the country. Fearing that Bishop's feelings for Hadley might compromise his cover and the mission, Muir tips off the Chinese to Hadley's location in return for freeing an arrested U.S. diplomat. Chinese agents kidnap Hadley, and Bishop cuts all ties to Muir when he discovers his involvement. After learning Hadley was the target of Bishop's rescue attempt, Muir finally realizes that he has greatly underestimated Bishop's feelings for her. Running out of time, Muir secretly creates a forged urgent operational directive from the CIA director to commence Operation Dinner Out, a rescue mission to be spearheaded by Commander Wiley's (Dale Dye) U.S. Navy SEAL team, for which Bishop had laid the groundwork as a "Plan B" for his own rescue attempt. Using US$282,000 of his life savings and a misappropriated file on Chinese coastline satellite imagery, Muir enlists Duncan's help in bribing a Chinese energy official to cut power to the prison for 30 minutes, during which time the SEAL rescue team retrieves Bishop and Hadley. Bishop, who is rescued at the end of the film 15 minutes before his scheduled execution, realizes Muir was behind his rescue when he recognizes the name of the plan to rescue him, Operation Dinner Out: a reference to a birthday gift that Bishop gave Muir while they were in Lebanon. When the CIA officials are belatedly informed of the rescue, Muir has already left the building and is seen driving off into the countryside.
Question: Where was the American President due to pay a visit?

SOLUTION:
china