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.
Input: Fact1: opera unlike others of is real person day, Fact2: Macheath Taking first page of begins singing opera, Fact3: beggar encouraged by Macheath 's good voice urges him to continue, Fact4: Polly urge her to lure To make best of situation Macheath into trap, Fact5: Lucy scolds him for taking virtue without making good on promise to wed

In the 1700s, a beggar is tossed into Londons Newgate jail, along with a pile of papers upon which his unfinished opera is scribbled. The beggar boasts to the other prisoners that his opera, unlike others of the day, is about a real person, the dashing highwayman Captain Macheath, who, dressed in a red coat, holds off the world with a pistol in each hand, seduces women with five notes of a tune, and generally leaps from misfortune. To the beggars disappointment, the other prisoners point out that his hero Macheath is among them, in irons and behind bars, and Macheath, who is scheduled to be executed the next morning, admits that there is no arguing with reality. Taking the first page of the opera, Macheath begins singing, and the beggar, encouraged by Macheaths good voice, urges him to continue, until the following story, the beggars opera, is sung for the prison inmates: While riding to London, feeling merry and free, Macheath robs a carriage, and steals a kiss and a locket from a maiden. Later, in London, Macheaths wife, Polly Peachum, pines for him. Pollys parents, shopkeepers Mr. Peachum and his wife, are scandalized to learn from their employee Filch that Polly has secretly married the highwayman. To make the best of the situation, as they are always eager to make money, they urge her to lure Macheath into a trap and collect the reward for his capture. Meanwhile, outside of town, Macheath encounters a carriage ridden by Newgates jailor Mr. Lockit, Lockits daughter Lucy and Mrs. Trapes, whom Lockit is wooing. Lucy, who met Macheath when he was once imprisoned, scolds him for taking her virtue without making good on his promise to wed. When Macheath rides off, Mrs. Trapes suggests that Lucy betray him for the reward and give the money to her father. Later, during a tryst in a hayloft, Polly warns Macheath that her parents are mounting an ambush. Macheath escapes with Pollys help after a swashbuckling fight, then hides in a back room of a tavern, where he is unable to resist socializing with the prostitutes, whom he considers friends. However, prostitute Jenny Diver has been bribed by Peachum and Lockit to betray him, and with the help of her colleagues, Macheath is soon captured. From his jail cell, Macheath urges Lucy to steal the jail keys and set him free, promising to marry her in return, but then Polly shows up and he is forced to introduce the women to each other. During the night, Lucy steals the keys and releases him, but later Polly sneaks back and, finding Macheath gone from the cell, screams in anguish without thinking, thus drawing attention to his escape. Meanwhile, Macheath disguises himself in the stolen cape and gloves of a lord and slips into a gaming house to avoid making good his promise to unite with Lucy. However, the proprietor recognizes the cape and alerts Lockit and Peachum about the impostor wearing it. Back at the jail, Polly is accused of freeing Macheath and is locked in Lucys room, where Lucy, after losing track of Macheath, attempts to drug her. When they hear the recaptured Macheath being returned to prison, Lucy and Polly proceed to Macheaths cell and demand that he choose between them. He refuses, as he will soon be hanged and sees no reason to disappoint either of them. The next morning, riding atop his coffin as it is carted through the streets to the gallows, Macheath waves farewell to the friendly crowd that has gathered to see him off. At the gallows, after kissing both Lucy and Polly goodbye, Macheath is blindfolded and awaits his fate, and the opera comes to its incomplete end. The real Macheath, who is still in the jail, protests that he should not have to hang twice. After pondering the complaint, the beggar agrees and yells for Macheaths reprieve. The rest of the prisoners join in the chant and mob the turnkey, who comes to investigate the ruckus, allowing Macheath to escape. The highwayman steals a horse from the cart containing his coffin and when safely out of London, sings that his freedom has been returned because of a beggars opera.