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: In the small village of Ramgarh, the retired policeman Thakur Baldev Singh (Sanjeev Kumar) summons a pair of small-time thieves that he had once arrested. Thakur feels that the duoVeeru (Dharmendra) and Jai (Amitabh Bachchan)would be ideal to help him capture Gabbar Singh (Amjad Khan), a dacoit wanted by the authorities for a 50,000[a] reward. Thakur tells them to surrender Gabbar to him, alive, for an additional 20,000 reward.The two thieves thwart the dacoits sent by Gabbar to extort the villagers. Soon afterwards, Gabbar and his goons attack Ramgarh during the festival of Holi. In a tough battle, Veeru and Jai are cornered. Thakur, although he has a gun within his reach, does not help them. Veeru and Jai fight back and the bandits flee. The two are, however, upset at Thakur's inaction, and consider leaving the village. Thakur explains that Gabbar had killed nearly all of his family members, and cut off both his arms a few years earlier, which is why he could not use the gun. He had concealed the dismemberment by always wearing a shawl.Living in Ramgarh, the jovial Veeru and cynical Jai find themselves growing fond of the villagers. Veeru is attracted to Basanti (Hema Malini), a feisty, talkative young woman who makes her living by driving a horse-cart. Jai is drawn to Radha (Jaya Bhaduri), Thakur's reclusive, widowed daughter-in-law, who subtly returns his affections.Skirmishes between Gabbar's gang and Jai-Veeru finally result in the capture of Veeru and Basanti by the dacoits. Jai attacks the gang, and the three are able to flee Gabbar's hideout with dacoits in pursuit. Fighting from behind a rock, Jai and Veeru nearly run out of ammunition. Veeru, unaware that Jai was wounded in the gunfight, is forced to leave for more ammunition. Meanwhile, Jai, who is continuing the gunfight singlehandedly, decides to sacrifice himself by using his last bullet to ignite dynamite sticks on a bridge from close range.Veeru returns, and Jai dies in his arms. Enraged, Veeru attacks Gabbar's den and catches the dacoit. Veeru nearly beats Gabbar to death when Thakur appears and reminds Veeru of the promise to hand over Gabbar alive. Thakur uses his spike-soled shoes to severely injure Gabbar and destroy his hands. The police then arrive and arrest Gabbar. After Jai's funeral, Veeru leaves Ramgarh and finds Basanti waiting for him on the train. Radha is left alone again.

Output: Who attacks Gabbar's den?

Input: Consider Input: In early 1900s London, magician Robert Angier performs his trick, 'The Real Transported Man,' to a sold out theater. Rival magician Alfred Borden, in disguise, sneaks under the stage. At the trick's culmination, Angier drops through a trap door and into a waiting water tank, where Borden watches him drown.At Borden's murder trial, Angier's ingenieur, John Cutter testifies how Borden pushed the water tank under the trap door to catch and kill Angier during his New Transported Man trick. In prison, Borden is visited by an agent of Lord Caldlow, who offers to care for Borden's daughter Jess in exchange for all of Borden's tricks. As a show of good faith, Caldlow gives Borden a copy of Angier's diary, which Borden reads.In flashback, Angier and Borden work as shills for Milton the Magician, alongside ingenieur John Cutter and assistant Julia, who is also Angier's wife. Milton's famous trick is the water tank trick, where Julia is bound in ropes and dropped in a water tank, from which she frees herself and escapes. Borden, with Julia's consent, ties her hands with a more secure, yet difficult knot. Julia fails to slip the knot and drowns, infuriating Angier and fueling his deep-seated grudge against Borden.Borden launches a solo magic career and hires the silent, mysterious Fallon as his ingenieur, Borden courts and eventually marries Sarah, who gives birth to their daughter, Jess. At his first show, Borden's bullet catch trick is sabotaged by Angier, and Borden loses two fingers. Angier launches his own magic career, hiring Olivia Wenscombe as his assistant and Cutter as his ingenieur. During the finale of Angier's show, a disguised Borden sabotages Angier's bird cage act, which maims an audience member and ruins Angier's reputation.Angier discovers, and subsequently steals Borden's fantastic trick "The Transported Man," where Borden instantly travels between two wardrobes on opposite ends of a stage. Cutter and Olivia groom Root, an out-of-work actor, into a "double" for Angier, to mimic his appearance and mannerisms. 'The New Transported Man' is a huge success, but Angier is displeased, as he ends the trick hidden under the stage while Root basks in the applause. Obsessed with Borden's secret, Angier orders Olivia to spy on him. Instead, she revamps Borden's act, making it more successful. Borden subsequently sabotages Angier's show, humiliating him and leaving him with a permanent limp. Angier confronts Olivia, who confesses to loving Borden, before giving Angier a copy of Borden's diary, its contents scrambled by a coded cipher. Angier and Cutter kidnap Fallon and extort from Borden his codeword "Tesla" which Borden claims is also his secret. As Angier leaves for America to find Tesla, Borden begins an affair with Olivia. Sarah becomes increasingly disturbed with Borden's fickle and contradictory nature and, succumbing to depression, commits suicide.In America, Angier meets scientist Nikola Tesla and asks him to build him the machine Tesla built for Borden. While waiting for Tesla to finish, Angier deciphers Borden's diary, which he discovers to be fraudulent: Borden confesses that Tesla has nothing to do with Borden's trick and that Borden ordered Olivia to give Angier the diary to send him away. Angier confronts Tesla, who admits to never building any device for Borden, but has successfully built a replicating machine for Angier, capable of reproducing animate and inanimate objects a distance from the machine. As Tesla departs, he advises Angier to destroy the machine.Returning to London, Angier debuts 'The Real Transported Man' where he vanishes within the machine's electrical field and appears atop the balcony at the back of the hall. Baffled by the trick's success, Borden sneaks backstage to find Angier's secret, only to witness Angier drop through a trap door and plunge into a waiting water tank, where he drowns. Cutter stumbles upon the scene, and Borden is arrested.In the present, Borden is found guilty and sentenced to death. He agrees to Lord Caldlow's terms, and surrenders all his secrets. When Caldlow visits, Borden recognizes him as Angier. Baffled by Angier's return, Borden begs for his life, but Angier ignores Borden's pleas. Borden is hanged and dies, his last word: "Abracadabra." Cutter learns that Caldlow has bought Angier's machine. When he visits him to plead for its destruction, he discovers that Caldlow is Angier, and faked his death to kill Borden in revenge for Julia. Disgusted with Angier, Cutter agrees to help Angier dispose of his machine in a private theater. As the two work, Cutter discovers rows of water tanks containing rotting duplicates of Angier: Every show, Angier used the machine to create clones of himself atop the balcony, while unbeknownst to anyone, the original Angier would fall through the trap door to be drowned in the tanks under the stage. The night Borden ventured backstage, Angier's clone presumably disappeared into the crowd, making it appear Borden had killed him under the stage.His task finished, Cutter leaves the theater, allowing a man to enter as he departs. The man shoots Angier and reveals himself as Borden. Angier realizes that "Alfred Borden" is actually an identity assumed by twin brothers who took turns being Borden and Fallon, each living half of Alfred's life to prepare for their "Transported Man" trick, right down to each having separate spouses, Sarah and Olivia. Borden berates Angier for going too far in his quest for dominance. Angier supports his actions by explaining that all he ever wanted was to amaze an audience. If he could have fooled them even for a second, then his work would have been complete. Angier dies and the living Borden twin leaves to pick up Jess at Cutter's workshop, exchanging a silent goodbye and leaving. Where on the ending note shows the Clone of Angier in the glass chamber, near the dead body. Cutter narrates that, while we try to find the secret of a magic trick, we will never find because we don't really want to. Instead, we want to be fooled.
Output: What is Borden's codeword?