Task: Question Generation
Input (English): It is Christmas and John Resko (Ben Gazzara) wants to give his baby daughter a new teddy bear. He goes, without money, into a shop and tries to get the shopkeeper to give it to him saying he will pay him later. The shopkeeper refuses, Resko grabs a gun he saw in the till and points it at the man. The shopkeeper lunges at Resko and is shot. Resko is condemned to the electric chair at the age of eighteen.Pardoned by the governor at the last minute, Resko is sentenced to Dannemora Prison, where he has difficulty adjusting to life behind bars. It becomes even less bearable after hearing that his wife (Carmen Phillips) has left him and that his father (Jack Kruschen) has died.Resko does long stretches in solitary confinement. But he is befriended eventually by fellow convicts like Iggy (Ray Walston) and Wino (Sammy Davis Jr.) who help him to pass the time. When he takes up art as a hobby, Resko's work is seen by an art critic, Carl Carmer (Vincent Price), who believes him to have promise.In 1949, after 18 years in prison, Resko is released. His daughter (Susan Silo) and granddaughter are waiting when he gets out.
Output (English): Question: How many years did Resko spend in prison?, Answer: 18