In this task, you will be shown an extract from a movie plot and a question. You need to provide the correct answer for it. Short answers containing words that are present in the passage are preferred.

Input: Consider Input: O'Brien plays an Irish mine worker, Barney Slaney. Later Barney gets a job as a fireman on the local train for an engineer named Mileaway. He gets married, but finds his wife having an affair with Grover Perkins, a childhood nemesis. Barney loses control and kills them both. He turns himself in and receives a life sentence of hard labor. Barney quickly finds out that the brother of the man he killed, Ed Perkins, will be in charge of his chain gang, and the brother bullies him repeatedly. While the prisoners dig graves, Barney knocks Ed unconscious and drops him into one of the open graves. He then escapes during the ensuing mayhem, in which the warden is killed. He breaks out of the police dragnet, and hides at a farm which recently had a pestilence infection. He meets a woman named Lorraine, and they run away together.[3][4], Question: Who does Barney find his wife having an affair with?

Output: Answer: Grover Perkins


Input: Consider Input: This article's plot summary may be too long or excessively detailed. Please help improve it by removing unnecessary details and making it more concise. (September 2016) (Learn how and when to remove this template message)In 1965, Chris Taylor (Charlie Sheen) has dropped out of college, enlisted in the U.S. Army, and volunteered for combat duty in Vietnam. Assigned to Bravo Company in the 25th Infantry Division, near the Cambodian border, he is quickly disillusioned by the difficult environment, and his enthusiasm for the war declines. One night, his unit is set upon by a group of North Vietnamese Army (NVA) soldiers, who retreat after a brief confrontation. New recruit Gardner is killed while another soldier, Tex, is maimed by friendly fire. Taylor is scorned by the cruel Staff Sergeant Barnes (Tom Berenger) for falling asleep during watch, after being implicated by one of the veterans. Taylor eventually gains acceptance from a tight-knit group in his unit whose members socialize in a bunker clubhouse at their base. He finds mentors in King (Keith David) and the loyal Sergeant Elias (Willem Dafoe), and becomes close friends with other soldiers, including Lerner (Johnny Depp), Rhah (Francesco Quinn), Crawford (Chris Pedersen) and Manny (Corkey Ford).During a patrol, Manny is found mutilated and tied to a post, while two other soldiers, Sal (Richard Edson) and Sandy (J. Adam Glover), are killed by a booby trap in a bunker. As tension mounts, the platoon reaches a nearby village where they discover a supply and weapons cache. Using Lerner as a translator, Barnes interrogates the village chief to determine if his people have been aiding the NVA. Despite the villagers' adamant denials, Barnes coldly shoots and kills the chief's wife. He holds the chief's daughter at gunpoint, threatening to kill her as well, if the villagers do not reveal what they know. Elias arrives and is furious with Barnes' behavior. A physical altercation between the duo ensues, which is ended by the timid platoon commander, Lieutenant Wolfe (Mark Moses), who orders the men to secure the villagers, destroy the enemy supplies, and burn the village down. As they leave, Taylor stops a group of soldiers from gang raping two girls.When the unit returns to base, Captain Harris (Dale Dye) advises that if he finds out that an illegal killing took place, a court-martial will be ordered. Barnes worries that Elias will testify against him. On their next patrol, the platoon is ambushed and pinned down in a firefight, in which numerous soldiers are wounded, including Lerner and Big Harold (Forest Whitaker). Lerner is taken back to the helicopter landing area, while Lieutenant Wolfe calls in a artillery strike and the incorrect coordinates he provides results in a number of friendly fire casualties. Elias takes Taylor, Crawford, and Rhah to intercept flanking enemy troops. Barnes orders the rest of the platoon to retreat and goes back into the jungle to find Elias' group. Barnes finds Elias alone and shoots him, then returns and tells the others that Elias was killed by the enemy. While the platoon is extracting via helicopter, they glimpse Elias, mortally wounded, emerging from the treeline and being chased by a group of North Vietnamese soldiers, who kill him. Noting Barnes' anxious manner, Taylor realizes that he gave a false account of Elias' wounding.At the base, Taylor becomes convinced that Barnes is responsible for Elias' death. He attempts to talk his group into fragging the sergeant in retaliation when Barnes, having overheard them, enters the room and mocks them. Taylor assaults the intoxicated Barnes but is quickly overpowered. Barnes cuts Taylor near his eye with a push dagger before departing.The platoon is sent back to the combat area to maintain defensive positions, where Taylor shares a foxhole with Francis. That night, a major NVA assault occurs, and the defensive lines are broken. Much of the platoon, including Bunny, Junior, and Wolfe, are killed in the ensuing battle. During the attack, an NVA sapper, armed with explosives, rushes into battalion headquarters, making a suicide attack and killing everyone inside. Meanwhile, Captain Harris, the company commander, orders his air support to expend all remaining ordnance inside his perimeter. During the chaos, Taylor encounters Barnes, who is wounded and driven to insanity. Just as Barnes is about to kill Taylor, both men are knocked unconscious by an air strike.Taylor regains consciousness the following morning, picks up an enemy Type 56 rifle, and finds Barnes, who orders Taylor to call a medic. Seeing that Taylor won't help, Barnes tells him to pull the trigger. Taylor shoots and kills Barnes. He sits and waits until reinforcements arrive and find him. Francis, who survived the battle unharmed, deliberately stabs himself in the leg and reminds Taylor that because they have been twice wounded, they can return home. The helicopter carries the two men away. Overwhelmed, Taylor sobs as he glares down at multiple craters full of corpses, both friend and foe., Question: At what time of day did an major NVA assault occur?

Output: Answer: at night


Input: Consider Input: Samuel Sayer (Robert Morley) and his sister Rose (Katharine Hepburn) are British Methodist missionaries in the village of Kungdu in German East Africa at the beginning of World War I in August/September 1914. Their mail and supplies are delivered by a small tramp steamer named the African Queen, helmed by the rough-and-ready Canadian boat captain Charlie Allnut (Humphrey Bogart), whose coarse behavior they tolerate in a rather stiff manner.When Charlie warns them that World War I has broken out between Germany and Britain, the Sayers choose to stay on, only to witness the Germans burn down the mission village and herd the villagers away. When Samuel protests, he is beaten by a German soldier. After the Germans leave, Samuel becomes delirious with fever and soon dies. Charlie returns shortly afterward. He helps Rose bury her brother, and they set off in the African Queen.Charlie mentions to Rose that the Germans have a gunboat, the KÃ¶nigin Luise (German for "Queen Louisa"), which patrols a large lake downriver, effectively blocking any British attacks. Rose comes up with a plan to convert the African Queen into a torpedo boat and sink the KÃ¶nigin Luise. Charlie points out that navigating the Ulanga River to get to the lake would be suicidal: to reach the lake they would have to pass a German fort and negotiate several dangerous rapids. But Rose is insistent and eventually persuades him to go along with the plan.During their journey down the river, Charlie, Rose and the African Queen encounter many obstacles, including the German fort and three sets of rapids. The first set of rapids is rather easy; they get through with minimal flooding in the boat. But when they pass the fortress and the soldiers begin shooting at them, the bullets pierce the top of the boiler and cause one of the steam pressure hoses to disconnect from the boiler. This causes the boat's engine to stop. Luckily, Charlie manages to reattach the hose to the boiler just as they are about to enter the second set of rapids. The boat rolls and pitches crazily as it goes down the rapids, leading to more severe flooding in the boat. However, they make it through.While celebrating their success, the two find themselves in an embrace. Embarrassed, they break off, but eventually succumb and strike up a relationship. The third set of rapids comes up. This time, there is a loud metallic clattering noise as the boat goes over the falls. They dock on the river bank to check for damage. When Charlie dives under the boat, he finds the propeller shaft bent sideways and a blade missing from the propeller. Luckily, with some expert skills and using suggestions from Rose, Charlie manages to straighten the shaft and weld a new blade on to the propeller, and they are off again.All appears lost when Charlie and Rose "lose the channel" and the boat becomes mired in the mud amid dense reeds near the mouth of the river. First, they try to tow the boat through the muck, only to have Charlie come out of the water covered with leeches. All their efforts to free the African Queen fail. With no supplies left and short of potable water, Rose and a feverish Charlie turn in, convinced they have no hope of survival. Before going to sleep Rose prays that she and Charlie be admitted into Heaven. As they sleep, exhausted and beaten, heavy rains raise the river's level and float the African Queen off of the mud and into the lake which, it turns out, is just a short distance from their location. Once on the lake, they narrowly avoid being spotted by the KÃ¶nigin Luise. The KÃ¶nigin Luise departs, but Charlie believes that she will return as she makes her normal rounds of the lake.Over the next two days, Charlie and Rose convert some oxygen cylinders into torpedoes using gelatin explosives and improvised detonators that use nails as the firing pins for rifle cartridges. They then push the torpedoes through holes cut in the bow of the African Queen as improvised spar torpedoes. The KÃ¶nigin Luise returns as Charlie predicted, and Charlie and Rose steam the African Queen out onto the lake in darkness, intending to set her on a collision course with the KÃ¶nigin Luise before diving overboard and making their way to safety to the Belgian Congo on the west side of the lake. A strong storm strikes as they head toward the KÃ¶nigin Luise. Unfortunately, the torpedo holes they cut are not sealed, which allows water to pour into the African Queen, causing her to sink lower and lower. Eventually the African Queen capsizes, throwing them both into the water. Charlie loses sight of Rose in the storm.Charlie is captured and taken aboard the KÃ¶nigin Luise, where he is questioned by the captain. Believing Rose to have drowned, he makes no attempt to defend himself against accusations of spying, and the German captain sentences him to death by hanging. However, Rose is captured and brought to the KÃ¶nigin Luise just after Charlie's sentence is handed down. Charlie hollers her name, then tries to protect her by pretending not to know her. The captain questions her, and Rose confesses the whole plot proudly, deciding they have nothing to lose anyway. The captain sentences her to be executed as a spy, too. Charlie asks the German captain to marry them before executing them. After a brief marriage ceremony, the Germans prepare to hang them, but there is a sudden explosion and the KÃ¶nigin Luise quickly capsizes and sinks. The KÃ¶nigin Luise has struck the overturned hull of the African Queen and detonated the torpedoes. Rose's plan has worked after all, if a little belatedly, and the newly married couple happily swims to safety on the west shore of the lake., Question: Who sentences Charlie to death?


Output: Answer: German captain