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: paintings in ancestral gallery At come to life midnight, Fact2: Angelina is concerned about husband 's safety, Fact3: Francesca After period of departs leaving duke with dagger in back lying dead on bed time, Fact4: Mario Disguised as returns to castle gypsy, Fact5: Teglash decides to spare Mario 's life

SOLUTION: In 1861, Countess Angelina, ruler of Bergamo in southeastern Europe, marries Mario, a baron she has known since childhood. When the castle is threatened by Hungarian hussars led by Colonel Teglash on their wedding night, Mario flees. At midnight, the paintings in the ancestral gallery come to life, and their subjects ask Francesca, Angelinas greatgreatgreatgreatgrandmother who looks exactly like Countess Angelina, to save the castle just as she did in the 16th century. Through a spyglass, Francesca observes Teglash leading the advancing army and finds herself attracted to him. When he sees her portrait, Teglash is puzzled by the fact she is wearning an ermine coat but no shoes. Angelina greets Teglash, who flirts with her when he learns her bridegroom has escaped, but she makes it clear she respects her marriage vows and is concerned about her husbands safety. Angelinas servant Luigi, seeing how smitten the colonel is with his mistress, tells Teglash how three hundred years earlier, Francesca retained control of the castle when a tyrannical duke attempted to seize it. Via flashback, we see her, barefoot and in ermine, present herself to the duke and accompany him into his tent. After a period of time, Francesca departs, leaving the duke, with a dagger in his back, lying dead on his bed. Luigi tells the colonel that, according to rumor, she killed the duke because she feared she was falling in love with him. Disguised as a gypsy, Mario returns to the castle but runs off when soldiers come to investigate. When he is captured, Teglash, unaware of his identity but impressed by his musical ability, decides to spare Marios life and make him his personal gypsy. When he realizes he is Angelinas husband, he offers to free him if she dines with him that night, but she fails to rendezvous with him. Francesca visits Teglash while he is asleep, prompting a dream in which Angelina joins him for dinner and demands a kiss. While she embraces him, she removes a knife from a roast pig and throws it at the clock, effectively stopping time. The two acknowledge their love and, as the gallery portraits look on, they fly up and crash through the roof. The following morning, Teglash awakens to find the knife still in the pig and the clock ticking. Angelina arrives, and Teglash tells her he is freeing her husband and then describes his dream, touching her with his obvious deep feelings for her. When Mario arrives, she assures him she had nothing to do with the colonel. Time passes, but Teglash still mourns the loss of Angelina. One night, while he is asleep, she arrives and falls asleep in a chair near his bed. Teglash revisits his prior dream, but this time the knife falls from the clock and Angelina stabs him with it. He awakens with a start and finds Angelina, who tells him Mario has left her and proposes they wed. That night at midnight, the portraits come to life once again to celebrate their union with song and dance.

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: Nygma After killing supervisor and staging it as resigns sending Bruce riddles seeking retaliation against him suicide, Fact2: psychiatrist invites her to come with him to circus event, Fact3: Flying Graysons Two-Face After performance from arrives to blow up circus unless Batman comes forward and surrenders life to him circus performers, Fact4: Riddler use it to learn Batman 's secret identity, Fact5: Bruce decides to stop being Batman in to have normal life with Chase and to prevent Dick from murdering Two-Face

SOLUTION:
In Gotham City, the crime fighter Batman defuses a hostage situation caused by a criminal known as TwoFace, the alter ego of the former district attorney Harvey Dent, but TwoFace escapes and remains at large. Edward Nygma, a researcher at Wayne Enterprises who idolizes Bruce Wayne, has developed a device that can beam television into a persons brain. Bruce offers to let Nygma come up with schematics for the device and set up a meeting with his assistant. However, after Nygma demands an answer from him immediately, Bruce rejects the invention, believing it to be too close to mind manipulation. After killing his supervisor and staging it as a suicide, Nygma resigns and begins sending Bruce riddles, seeking retaliation against him. Bruce meets Chase Meridian, a psychiatrist who is obsessed with Batman, and invites her to come with him to a circus event. After a performance from the circus performers, The Flying Graysons, TwoFace arrives and threatens to blow up the circus unless Batman comes forward and surrenders his life to him. The Flying Graysons attempt to stop TwoFace, but most of them get killed as a result. Only Dick Grayson, the youngest member, survives as he climbs to the roof and throws TwoFaces bomb into a river. Bruce invites the orphaned Dick to stay at Wayne Manor. Dick, still troubled by the murder of his family, intends to kill TwoFace and avenge his family. When he discovers that Bruce is Batman, he demands that Bruce help him find TwoFace so that he can kill him, but Bruce refuses. Meanwhile, Nygma, inspired and delighted by watching TwoFaces raid at the circus, turns himself into a criminal called the Riddler and forms an alliance with TwoFace. The two steal capital in order to massproduce Nygmas brainwave device so that Riddler can use it to learn Batmans secret identity. At Nygmas business party, Nygma discovers Bruces alter ego using the brainwave device. TwoFace arrives and crashes the party. He nearly kills Batman, but Dick manages to save him. Meanwhile, Chase has fallen in love with Bruce, which surpasses her obsession with Batman. Bruce decides to stop being Batman in order to have a normal life with Chase, and to prevent Dick from murdering TwoFace. Dick runs away while Bruce and Chase have dinner together in the manor, where Bruce reveals his secret identity to her. The Riddler and TwoFace arrive and attack Wayne Manor; in the process, the Riddler blows up the Batcave. The criminals kidnap Chase after TwoFace shoots Bruce, and the Riddler leaves him another riddle. Using the riddles, Bruce and his butler, Alfred, deduce the Riddlers secret identity. Chase is imprisoned by the Riddler and TwoFace in their hideout. Dick returns and becomes Batmans sidekick, Robin. Batman and Robin head to Riddler and TwoFaces lair, Claw Island, where they are separated. Robin encounters TwoFace and nearly kills him, but chooses to spare his life and is captured. The Riddler gives Batman a chance to save only one hostage, but Batman destroys the Riddlers brainwave collecting device, causing the Riddler to suffer a mental breakdown. Batman then rescues both Robin and Chase. TwoFace corners the trio and determines their fate with the flip of a coin, but Batman throws a handful of identical coins in the air, causing TwoFace to stumble and fall to his death. The Riddler is taken to Arkham Asylum and imprisoned, but he claims he knows who Batman is. Chase is asked to consult on the case, but Nygma says that he himself is Batman, due to his damaged memories. Chase meets Bruce outside and tells him that his secret is safe before parting ways. Bruce resumes his crusade as Batman with Robin as his partner to protect Gotham from crime.