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: Laura Black, a young and ambitious intern from Virginia, accepts a job at Kensitron Electronics International (KEI) in Silicon Valley, California. During a tour of her new workplace with future co-worker Chris, Laura meets long-time KEI employee Richard Farley, who immediately becomes infatuated with Laura's beauty. Richard invites her to a local tractor pull, but she politely refuses. Looking for a home, she later visits an apartment in Sunnyvale, and is accepted as a new roommate by the current tenant.On her first day at the office, Richard is waiting at her new work station with fresh-baked blueberry bread to show his affections. In the days that follow, Laura enrolls in a local aerobics class, where Richard watches her intently. When the class dismisses, Richard meets Laura in the parking lot and asks her out to a concert and dinner afterwards; but again, she politely turns him down. Becoming frustrated, Richard then tells Laura that they can't have a relationship if she keeps turning him down. Laura is quick to correct Richard, sternly informing him that their relationship is strictly business.Richard continues to make advances on Laura, convinced that he and Laura are in a romantic relationship. At a KEI softball game, Laura once again denies that their relationship extends beyond the workplace. During the game, Laura's new friend and co-worker Glenda Moritz takes note of Richard's infatuation with her, though Laura says she can handle him. Richard also becomes offended when he notices Laura and Glenda looking his way and laughing, thinking they are making fun of him.Richard continues his hopeless pursuit of Laura. Through an excuse of wanting to present a staff birthday celebration for Laura, he is permitted by a coworker to see her personal dossier, from which he learns of her birthday and address, later showing up at her apartment with a gift. When her roommate tells her she should inform KEI management of the apparent stalking, Laura insists that she can handle Richard, saying that if she did otherwise, she would be his defeated victim.Richard later slashes Laura's tires at her home. Laura calls the police about the incident, and suspects Richard as the culprit. Richard later confronts Laura on her suspicions, warning her that she'll be sorry if she sends any cops after him. Laura finally approaches KEI management to file a formal complaint; but management brushes it off, thinking that Richard only liked her because of her smile. However, management does instruct Richard to leave her alone at work, which he skirts by enrolling in the same non-work aerobics class as Laura. Richard later photographs Laura from the yard in front of her house, and uses the photos to doctor a picture of himself and Laura together. With the harassment progressing, Laura and her roommate relocate to a new apartment, which is gated for added security.Richard later breaks into Laura's office during after-hours and discovers her new address, as well as her family records. Richard then threatens to go after Laura's sisters if Laura does not learn to accept that she "is meant for him." While visiting her family for Christmas in Virginia, a gift arrives: the above-mentioned doctored photograph of the two of them together, which Richard labels the photograph of them "on their summer vacation." Laura confesses the situation to her family, who insist that they help her get out of this before it boils over. Laura insists that she loves her job and will not let Richard intimidate her. Laura then files a second complaint at KEI upon her return, again with little effect.On another day at work, an enraged Richard confronts Laura in the ladies' restroom, smashing the bathroom mirror and threatening her for not accepting his advances. Laura reports the incident to KEI management, and when Richard declares that he will kill anyone who attempts to interfere with his "private relationships," he is immediately fired for this threat.The harassment continues on an irregular basis. Laura begins dating Sam Waters, who fears for Laura's safety. To protect her, Sam teaches her how to use a gun for self-defense. When Richard breaks into her garage and leaves a note on her windshield, Laura confronts him and he casually brushes it off with yet another advance. At work, Laura receives a major promotion that cancels when she is unable to obtain proper security clearance. Thinking the cancellation is because of Richard's harassment, Chris convinces Laura to serve papers on Richard for a restraining order, which turns out to be the final course of action that leads directly to the shooting rampage at KEI.Enraged by the restraining order, Richard purchases numerous guns and over 2000 rounds of ammunition. At work, Laura is looking forward to her upcoming court appearance for the restraining order to become permanent. On that same day, Richard arrives at the KEI offices in an RV, bringing numerous shotguns, revolvers and explosives. He blasts his way through the lobby, firing at random employees. Richard blasts his way into the secure offices, shooting several more employees and killing Glenda. Richard bursts into Laura's office, shooting her in the left shoulder and leaving her for dead, though she is only unconscious.SWAT units arrive and evacuate most of the building, though Richard remains holed up with dozens of hostages. While hostage negotiator Lt. Grijalva speaks with Richard; Laura, although weakened due to loss of blood, makes her way through the ransacked offices. Richard remains stubborn, and attempts to convince Lt. Grijalva that Laura is the guilty party for refusing dates with him, and insists that she was the one messing with him. Laura finally manages to escape the building and is rushed to a hospital for surgery on her shoulder, all the while blaming herself for the unfolding horror.Richard continues his rampage, at one point executing one of his surviving victims, unknowingly shoots Chris through a wall, but also permitting Nancy to leave the building unharmed. Exhausted and thinking that he will die, Richard demands food while he considers surrendering. Hours later, the police produce the food but informs Richard that they do not have the proper means of getting the food to him. Overcome with exhaustion and dehydration, Richard agrees to surrender to the police. Seemingly unconcerned by the carnage he has caused, Richard asks Grijalva if he thinks Laura will remember all this.

Output: Who leaves the building unharmed?

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: The main character is Jean Valjean (Liam Neeson), a Frenchman imprisoned for 20 years for stealing bread. He responds to the understanding and kindness of a Bishop, and becomes a successful business man and Mayor of a small town. Uma Thurman plays the roll of a single parent, Fantine, fighting to bring up her daughter Cosette. She works in Valjean's factory, sending money to keep her daughter with a couple in another town, until her secret is discovered, and she is dismissed, in order to prevent her bad moral influence impacting on the rest of the workforce. Thus begins her descent into poverty, prostitution, illness and death. During this time the main theme of the film develops, the conflict between Valjean, and the police officer named Javert. He recognises Valjean from his time as a prison guard. He oscillate between recognition and doubt, (given Valjean's now elevated position), until a trial of some other convict mistaken for Valjean, forces the later to declare his true identity , and flee from his past. This situation coincides with Fantine's demise, and Valjean decides to collect the young Cosette from her less than ideal fostering. They take refuge in a convent in Paris, and stay in hiding there from Javert until Cosette has grown into a young woman (now played by Clare Daynes - of leading lady in Homeland fame). We now enter the final phase of the film, centred on the Republican inspired uprising in Paris of June 5-6 1832. Cosette falls in love with one of the students organising the uprising, and this brings Valjean back into the clutches of Javert. During the uprising, Valjean has the opportunity to kill Javert, but believes he doesn't have right to. Javert says he will not stop pursuing Valjean, and advises him to kill him. Of course, shortly afterward, the situations are reversed, and again the moral impasse prevails. Javert has always tried to do the right thing throughout his life, and faced with Valjean's goodness, takes his own life by drowning himself in the River Seine, (within sight of the cathedral of Notre Dame).The film provides an insight into the type of moralistic tales of that time, trying to portray the suffering and degradation inherent in poverty, and the personal conflicts that are intertwined into that framework, in order to illustrate the particular challenges and choices that therein abound. It reflects the longing for the re-instatement of a French Republic, and attempts to publicise the suffering of the poor that is blamed on the inadequacies of the rule of Napoleon III.It gives a passable, if uninspired, portrayal of the main intent of the novel(written by Victor Hugo during the 2nd Empire in 1862), and has the added bonus that it is not being a musical!
Output: How long was Jean Valjean imprisoned?