In this task, you will be shown an extract from a movie plot. You need to read the extract and create questions that can be answered from the extract. The questions should be well-formed and grammatically correct. The questions should be completely answerable from the given passage and should not require any external knowledge. Subjective questions are not allowed. Create questions that result in factoid answers. A simple rule of thumb to decide whether a question is factoid or not is to see if two different people with average reading/comprehension skills would come up with the same answer after reading the passage.

Input: Consider Input: Detective Allen Gamble (Will Ferrell) is a mild-mannered forensic accountant and was a pimp in the past. Hot-tempered detective Terry "Yankee Clipper" Hoitz (Mark Wahlberg) has been partnered with Allen ever since he mistakenly shot Derek Jeter during the World Series. Allen and Terry receive no respect from the other officers, particularly detectives Martin (Rob Riggle) and Fosse (Damon Wayans, Jr.). All but Terry idolize cocky detectives Chris Danson (Dwayne Johnson) and P. K. Highsmith (Samuel L. Jackson), who are considered the city's best policemen even though they frequently cause millions of dollars in property damage catching petty criminals. During a pursuit, Danson and Highsmith leap to their deaths after misjudging their ability to survive a fall, which causes the precinct to wonder why they did it and who will take their place.Allen and Terry investigate a scaffolding permit violation by multi-billionaire Sir David Ershon (Steve Coogan) but wind up uncovering a much bigger plot by Ershon to cover his losses to his client Lendl Global. Lendl CEO Pamela Boardman (Anne Heche) hires a team of mercenaries led by Roger Wesley (Ray Stevenson) to make sure Ershon pays her back. During their investigation, Allen confides in Terry about how he ran a college dating service in his past, though he denies that he was a pimp. When Allen's life spiraled out of control, he was sent to the hospital where he met his future wife Sheila (Eva Mendes), and he promised Sheila that he would never get out of control again. When Sheila tells Allen that she is pregnant, Allen reverts to his old dark personality, and she kicks him out. Meanwhile, Terry unsuccessfully attempts to reconnect with his ex-fiancee Francine (Lindsay Sloane), who had walked out on him due to his temper.Their investigation comes to a halt when Ershon's attorney, Don Beaman (Andy Buckley), learns of Ershon's plan to cover his losses, leading Wesley to kill him and make it look like a suicide. Angered at their lack of progress, Capt. Gene Mauch (Michael Keaton) splits up Allen and Terry, sending Terry to traffic duty and Allen to beat patrol. Despite Terry's anger, Allen still works the case on his own. After Allen learns that Danson and Highsmith died investigating a staged theft during which Wesley broke into an accounting firm next door, he finds credible evidence and earns his gun back from Mauch. Allen then convinces Terry to rejoin him. They meet Capt. Mauch at Bed Bath & Beyond, his second job, where the police captain admits he has been holding off on the case because Ershon has high-profile connections that could ruin him, and he allows them to finish the case off-the-books.They go to an investment meeting Ershon is having and realize that the $32 billion Ershon seeks is really coming from the New York Police Department pension fund. They escape with Ershon to his private apartment, and Ershon tells them that the money for the pension fund is already in his account, ready to be transferred. Later that night, Allen and Terry finally reconcile with their loved ones. Allen apologizes to Sheila with the help of her mother and she welcomes her husband back. Terry also apologizes to Francine for letting his anger rule his life.The next morning, they drive to the bank to stop the transfer, evading Wesley's team, groups of Chechen and Nigerian investors to whom Ershon owes money, and police officers who are told Allen and Terry have gone rogue. They reach the bank and halt the transfer. Wesley arrives, and as a delaying tactic, shoots both officers and Ershon in their arms. Mauch finally arrives with police backup, rescuing the two and arresting Ershon for his embezzlement, and Wesley for multiple counts of murder. Ershon's arrest leads to a stock market crash and the subsequent federal bailout of Lendl Global. Terry marries Francine, and although he asks Sheila to be his best man, she declines. Sheila reunites with her husband. The narrator (Ice-T) finishes off by stating that the true heroes are the everyday people who work to make a difference, not the ones who appear in the newspaper or on TV.

Output: Who is Gamble's partner?

Input: Consider Input: 1905. April in Paris. All the fashionable Parisian ladies partake of the current cure for anemia by stopping at the abattoir [slaughterhouse] for their therapeutic glass of ox blood. Some ladies, however, have taken the cure to a higher level. Somewhere near Paris, Mark [Jean-Marie Lemaire] (a thief trying to escape from four other thieves who want the gold coins he is carrying to London) takes refuge in a castle currently inhabited by two lesbian chambermaids, Elisabeth [Franka Mai] and Eva [Brigitte Lahaie], who are awaiting the arrival of the marchioness and her servants. Elisabeth feels an immediate attraction to Mark but, while the gang of thieves lay outside the castle awaiting the chance to kill him, Mark is seduced by Eva, much to Elisabeth's chagrin. When the marchioness and her servants arrive, they hold a party in which Mark (the only male) is showered with attention. When midnight comes, however, everything changes. The women are revealed as "vampires" who want Mark's blood. Elisabeth helps Mark to escape, while the four servants sate their bloodlust on Eva. When Mark confesses to Elisabeth that he is also in love with her, Elisabeth changes her mind, decides that she never really loved Mark, and shoots him. It is Elisabeth and the marchioness who go into the sunrise together.

Output: Who takes refuge in a castle?

Input: Consider Input: In 1979 a priest at the Vatican sees a comet arching over the moon (described as the "Eye of God"), heralding the birth of one chosen to be the mother of Satan's child. The priest is sent on a mission by the Pope to find and protect the girl from Satan, although a few Vatican Knights (led by a corrupt cardinal insist that she must die. In New York a newborn girl, Christine York, is identified by Satanists (including her physician, Dr. Abel, and her nurse and future guardian, Mabel) as the person chosen to bear Satan's child on New Year's Eve, 1999. The Satanists perform occult rites on the newborn.In late 1999, Satan possesses an investment banker in a restaurant; he then destroys the restaurant, killing many inside. Suicidal and alcoholic former police detective Jericho Cane, depressed since his wife and daughter were killed in contract killings, works for a private security company and blames God for his plight. Jericho and co-worker Bobby Chicago are assigned to protect the possessed banker. A priest, Thomas Aquinas, unsuccessfully tries to kill the banker. Jericho captures Aquinas, who warns Jericho: "The thousand years has ended, the dark angel is loosed from his prison" and says that a girl is central. Jericho shoots Aquinas, who is arrested by the New York Police Department. Marge Francis, an NYPD detective and Jericho's former colleague, tells him that Aquinas has no tongue.Jericho and Bobby investigate on their own, learning that Aquinas was trained at the Vatican and was sent to New York before disappearing. Jericho questions Father Kovak, a priest who knew Aquinas. Kovak asks Jericho if he believes in God; when he says no, the priest tells him that Aquinas was driven mad by forces an atheist could not understand. They go to Aquinas' apartment, where they find his tongue in a jar and messages and symbols written in blood on the walls. Marge arrives, forcing them to leave. Satan infiltrates Aquinas' hospital, and crucifies him on the ceiling. Although he survives, he is shot by a Satanic police officer. Jericho and Chicago see Latin words and "Christ in New York" scratched into Aquinas' skin, and begins searching for Christine York.Jericho and Chicago find Christine in her apartment, saving her from the Vatican Knights, and she brings them to Mabel's house. After Satan destroys Chicago's van, killing him, Jericho attempts to leave with Christine. Mabel attacks Jericho, refusing to let him have Christine. Satan enters the house and kills Mabel for failing him; Jericho and Christine escape. Marge and another officer, both Satanists, tell Jericho to surrender Christine. Jericho kills them, but Satan resurrects Marge. Father Kovak tells Jericho and Christine that Satan must impregnate her moments before midnight on New Year's Eve to usher in the "end of days". Christine accepts Kovak's protection.Satan infiltrates Jericho's apartment, showing him a vision of his family's murder, offering to bring them back in return for Christine. Enraged, Jericho throws Satan through his apartment window after a fight, and Chicago appears.At the church, the Vatican Knights try to kill Christine before Satan kills them. Chicago tells Jericho that he is in league with Satan after he brought him back. Kovak rescues Jericho, and Satan kidnaps Christine. After locating Satan's underground temple, Jericho rescues Christine and again kills Marge. Chicago stops Jericho, who persuades him to fight off Satan's influence; Satan burns him alive. Jericho escapes with Christine into a subway tunnel. He fires a grenade at Satan, who leaves the banker to die for a new host.Jericho and Christine escape to another church, where Jericho renews his faith in God and prays for strength. Satan confronts Jericho as a massive, winged creature and possesses him. Jericho attempts to rape Christine, who tries to escape before Jericho deliberately impales himself on a sword protruding from a statue. At the stroke of midnight God frees Jericho's dying body, sends Satan back to hell and the world celebrates the new millennium. Jericho and Christine see the former's family waiting for him in the afterlife. He dies in peace, and Christine waits with his body for the authorities.Alternative ending[edit]An alternative ending was filmed in which Jericho returns to life after being impaled on the statue's sword and leaves the church with Christine, but test audiences preferred the original version. The ending was used in the film's novelization.[3]
Output: who are investigating on their own?