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: demonic troll transforms children to feast upon energy out on Briarville Missouri in late 19th Century, Fact2: Trantor be released on night before Halloween and by hands of Worrell, Fact3: Joey is walking home from tree house, Fact4: Tom and Bobby Tulip hoping to take advantage of Ernest sell him variety of fake troll traps, Fact5: heart of child and mother 's care are only defenses against troll

Trantor is a demonic troll who transforms children into wooden dolls to feast upon their energy out on Briarville, Missouri in the late 19th Century. He is captured by townsfolk and sealed under an oak tree. One of the village elders, Phineas Worrell, an ancestor of Ernest, establishes the seal under the condition that Trantor can only be released on the night before Halloween and by the hands of a Worrell – and that every generation of Worrells would get dumber and dumber and dumber, culminating in Ernest P. Worrell. Two hundred years later, Ernest, a sanitation worker, helps a few of his middle school friends, Kenny Binder, Elizabeth and Joey, construct a tree house in the same tree that unknowingly contains the dormant creature, after the mayors sons demolished their own cardboard haunted house. When Old Lady Hackmore discovers this she angrily leaves. When Ernest follows her, he learns the story of Trantor and reports it to the kids. Inadvertently, Ernest releases the troll. Joey is walking home from the tree house when he hears something rustling through the tress Joey slowly walks and his shoes start to sink mud and slips into a muddy hole. Joey screams for help and tries to climb out but its too slippery and Trantor grabs Joeys hand and turns him into a wooden doll. Ernest finds Sheriff Binder, who is Kennys dad, and explains the situation but they dont believe him. After none of the townsfolk will assist Ernest because they care about the Halloween party, he mounts a oneman and onedog defense operation in preparation for Trantors appearance. Meanwhile, Trantor captures a boy on a skateboard for his second victim. Tom and Bobby Tulip, hoping to take advantage of Ernest, sell him a variety of fake troll traps, but one backfires on the mayors sons and Ernest is fired from his job. Ernest, Kenny and Elizabeth return to Hackmore, where they learn that the heart of a child, and a mothers care are the only defenses against the troll. Later that night, Trantor claims Elizabeth as his third victim after sneaking out of the house. Elizabeth is walking to the tree house when Trantor chases after her, Elizabeth is slowly walking backwards and almost falls in the same mud hole Joey got stuck in. Elizabeth gets to the top f the tree house when Elizabeth hears Old lady Hackmore voice calling for her Elizabeth walks to the edge of the tree house an Trantor grabs Elizabeths ankle. Kenny and a friend named Gregg are walking, Trantor uses Elizabeths voice to lure Kenny away, then takes Gregg as a fourth victim. Despite parents being upset at their missing children, Mayor Murdock and Sheriff Cliff Binder still proceed with a Halloween party at the school and they believe the missing children will be at the party. Trantor appears there and takes the mayors oldest son as his fifth and final wooden doll. In the ensuing fight between Trantor and Ernest, Trantor turns Ernests dog Rimshot into a wooden doll before being driven off by soft serve ice cream covering Ernests hands. Kenny realizes that mothers care refers to milk and rallies a trollfighting team to destroy them. Back at the treehouse, Trantor successfully summons dozens of trolls while Ernest tries but fails to stop them. The townspeople show up; however, the trolls overwhelm and beat them up. Kenny and his friends arrive and begin destroying the trolls with milk. During the fight Trantor escapes beneath the tree where he summons powers making him invincible, especially to milk. Kenny unsuccessfully tries to destroy Trantor, who turns Kenny into a doll as well. With the rest of the townsfolk now backing him up and telling him to douse Trantor in milk, Ernest realizes that the troll children were susceptible to the milk, while Trantor himself would be weak against unconditional love: the heart of a child. He takes Trantor and dances with him while the mob watches, filling him with as much love as possible and finishing it off with a kiss to his snotridden nose, which causes Trantor to explode. With Trantors destruction, Ernest is proclaimed a hero. All of the wooden dolls are restored, including those from the 19th century, and life returns to normal. Sheriff Cliff Binder apologizes to his son for not believing him and Ernest. Ernest is happy that his dog is back to normal.