TASK DEFINITION: In this task, five ordered key facts are given. All the given facts are expressed in natural language. Your job is to generate a story 100 to 1000 words long, that includes all the facts given as input in their order of appearance while expanding upon them to produce a broader, yet coherent, narrative.
PROBLEM: Fact1: Rajeshwar Singh and Veer Singh In become friends story, Fact2: girl 's marriage is disrupted due to in-laws demanding dowry, Fact3: Veeru steps in to save face of girl and parents by marrying her, Fact4: Chuniya sees opportunity to leech off money of Rajeshwar, Fact5: Mandhari is revealed to be beggar and part of story

SOLUTION: The movie starts with Mandhari, an old crippled man, telling a story of two friends to some kids. In the story, Rajeshwar Singh, a landlords son, and Veer Singh, a poor boy, become friends. They are naughty kids, calling each other as Raju and Veeru respectively. As the duo grow up, Raju decides to get his sisters marriage arranged with Veeru. Neither his sister nor Veeru have any objections to the marriage. However, as luck would have it, a girls marriage is disrupted due to her inlaws demanding dowry. Veeru steps in to save the face of the girl and her parents by marrying her. While Raju is shocked by this development, his sister, who had a secret crush on Veeru, commits suicide. A devastated and distraught Raju now declares that Veeru is solely responsible for whatever happened and that the latter is now his mortal enemy. With these new developments, the duo have their territories marked. They come to an uneasy and unwritten truce: no one will kill a living soul from the others territory, but anybody entering the other persons territory will be doing this at his own peril. Chuniya, a kin of Raja, sees an opportunity to leech off the money of Rajeshwar by keeping the two sides at war. Chuniya has Veers son Vishal killed, making the latter believe that Rajeshwar will stop at nothing to eliminate Veer. Over the years, the tension escalates. The clashes between the former friends become a headache for the Commissioner. Mandhari, who is now revealed to be a beggar and part of the story, happens to be one of the lucky few who dont have any fear of death from either side. Mandhari claims to the Commissioner that the day he finds out a solution to the problem, he will dance on one leg. Here, Rajeshwars granddaughter Radha and Veers grandson Vasu meet each other. Radha and Vasu are unaware of the enmity and fall in love. When Mandhari finds about this, he happily completes his pledge to himself and reveals the truth to the lovers. Then, he reveals his plans to end the enmity, according to which Radha will infiltrate Veers home, while Vasu will infiltrate Rajeshwars. The lovers succeed in doing so, and try to make the old friends see reason. Aarti, Vishals widow, learns the true identity of Radha, but keeps quiet. Meanwhile, Chuniya has completely infiltrated Rajeshwars bastion. He starts making murky deals with shady parties who are interested in acquiring the whole region. He decides to stoke the fires once again, which he does by abducting, raping and killing a girl named Amla from Veerus territory. Chuniyas machination works, exposing the lovers as well. Radha and Vasus pleas fall on deaf ears. However, Chuniyas luck doesnt last long. The people with whom Chuniya had dealt with attack Rajeshwar, exposing Chuniyas real face. A distraught Rajeshwar and a sympathetic Veer finally sort out their enmity of decades. Here, Chuniya grows desperate and has Radha and Vasu captured. The people from both sides unite to fight against Chuniya. Soon, Radha and Vasu are saved, but they are unaware of the fact that their grandfathers have reconciled. Raju and Veeru kill Chuniya, but get fatally wounded themselves. As the friends die in each others arms, the final chapter on this friendship and enmity is closed. The story cuts to the present, revealing that Radha and Vasu got married and they formed a trust in the name of their grandparents, which is taking the care of education of the children Mandhari is retelling the story to. Radha and Vasu inaugurate the school as Aarti looks on.

PROBLEM: Fact1: sculptor Margaret Dauncey In Latin Quarter of is injured when top of huge statue of faun she is working on breaks off and falls on her Paris, Fact2: successful surgery by brilliant Dr. Arthur Burdon saves her from paralysis, Fact3: Haddo in Library of finds magic formula for creation of human life Arsenal, Fact4: Margaret Burdon and Dr. Porhoet go to Fair at Leon de Belfort, Fact5: Burdon has to rush her to hospital

SOLUTION: In the Latin Quarter of Paris, sculptor Margaret Dauncey is injured when the top of the huge statue of a faun she is working on breaks off and falls on her. After successful surgery by brilliant Dr. Arthur Burdon saves her from paralysis, she and Burdon fall in love. The surgery is watched by various doctors and others, including Oliver Haddo, a hypnotist, magician and student of medicine a character in Maughams original novel based on reallife occultist Aleister Crowley. Later, in the Library of the Arsenal, Haddo finds what he has been searching for: a magic formula for the creation of human life. One of the ingredients is the heart blood of a Maiden. He rips out the page and presents the old book to Dr. Porhoet, Margarets uncle and guardian, who has also been looking for it. When Margaret, Burdon and Dr. Porhoet go to the Fair at Leon de Belfort, they encounter Haddo, whom Margaret dislikes immediately. When Dr. Porhoet claims that the snake charmers use harmless snakes, Haddo refutes him and demonstrates his powers by letting a deadly horned viper bite him. He then magically makes the wound disappear. Porhoet remains unconvinced until the discarded viper strikes a young woman performer. Burdon has to rush her to a hospital. Later, Haddo visits Margaret uninvited. He hypnotizes her and tells her to concentrate on her statue. It seems to come to life to preside over an orgy. Critic Carlos Clarens calls this the high point of the film: a nightmarish sequence in which the hypnotised heroine Alice Terry see herself in the midst of an orgiastic rite presided over by Pan himself, a prancing naked satyr played by Stowitts, the American dancer at the Folies Bergere. Two days before her wedding to Burdon, Margaret receives a note from Haddo, asking her to see him the next morning. She tries to resist the summons, but fails. On the day of the wedding, Burdon learns that Margaret has married Haddo instead. Porhoet is convinced it was against his nieces will, and Burdon tries to track them down. Burdon eventually encounters the couple at a casino in Monte Carlo. He and Porhoet free Margaret while Haddo is away. Porhoet places her in a sanatorium to recover. Haddo, however, finds her and takes her to his laboratory in a tower. Burdon and Porhoet employ a guide to take them there. Just as Haddo is about to stab a bound Margaret, Burdon bursts in. After a violent struggle, Haddo falls into a huge fire and is killed. Margaret emerges from her trance and is reunited with her true love. Porhoet finds the page with the formula. He burns it and sets the laboratory afire as well.

PROBLEM: Fact1: bandit El Guapo and gang are collecting protection money from Mexican village of Santo Poco, Fact2: Carmen sends telegram asking them to come and stop El Guapo, Fact3: German 's real associates arrive at cantina proving themselves adept with pistols, Fact4: men In inform El Guapo reality, Fact5: next morning El Guapo and gang call out Amigos

SOLUTION:
In 1916, the bandit El Guapo and his gang are collecting protection money from the Mexican village of Santo Poco. Carmen, daughter of the village leader, searches for someone who can come to the rescue of her townspeople. While visiting a village church, she sees a silent film featuring The Three Amigos and, believing them to be real heroes, sends a telegram asking them to come and stop El Guapo. Meanwhile, Lucky Day, Dusty Bottoms, and Ned Nederlander are Hollywood silent film actors who portray the Amigos on screen. When they demand a salary increase, studio boss Harry Flugleman fires them and evicts them from their studioowned housing. Shortly afterward, they receive Carmens telegram, but misinterpret it as an invitation to make a show appearance with El Guapo. After breaking into the studio to retrieve their costumes, the Amigos head for Mexico. Stopping at a cantina near Santo Poco, they are mistaken for associates of a fastshooting German pilot, who is also looking for El Guapo and who arrived just before they did. The Amigos perform a show at the Cantina, singing My Little Buttercup, and leave the locals amused. The Germans real associates then arrive at the cantina, proving themselves adept with their pistols. A relieved Carmen picks up the Amigos and takes them to the village, where they are put up in the best house in town and treated very well. The next morning, when three of El Guapos men come to raid the village, the Amigos do a Hollywoodstyle stunt show that leaves the men very confused. The bandits ride off, making everyone think that the Amigos have defeated the enemy. In reality, the men inform El Guapo of what has happened, and he decides to return the next day and kill the Amigos. The village throws a boisterous celebration for the Amigos and their victory. The next morning, El Guapo and his gang come to Santo Poco and call out the Amigos, who confess that are too scared to confront him after Lucky gets shot in the arm. El Guapo allows his men to loot the village and kidnap Carmen, and the Amigos leave Santo Poco in disgrace. Ned persuades Lucky and Dusty to go after El Guapo. They spot a cargo plane and follow it; the plane is flown by the German, who has brought a shipment of rifles for the gang. Preparations are underway for El Guapos 40th birthday party, and he plans to make Carmen his bride. The Amigos try to sneak into the hideout, with mixed results: Lucky is captured and chained up in a dungeon, Dusty crashes through a window into Carmens room, and Ned ends up stuck in the pinata. Lucky frees himself, but Dusty and Ned are caught. The German, having idolized Neds quickdraw and gunspinning pistol skills since childhood, challenges him to a shootout. Ned kills the German, and Lucky holds El Guapo at gunpoint long enough for Carmen and the Amigos to escape in the Germans plane. Returning to Santo Poco with El Guapos army in pursuit, the Amigos rally the villagers to stand up for themselves. The bandits arrive, only to find themselves suddenly being shot at by Amigos from all sides and falling into hidden trenches dug by the villagers. El Guapos men either ride off or are shot, and he takes a fatal wound as well. As he lies dying, the villagers step out to confront him. El Guapo congratulates them, then shoots Lucky in the foot and dies. The villagers offer to give the Amigos all the money they have, but the Amigos refuse it, saying as in their movies that seeing justice done is enough of a reward for them. They then ride off into the sunset.