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: Barbara swerves to avoid dog, Fact2: Adam is taken to desert world before being pulled back in by Barbara, Fact3: Delia Under guidance of begins to transform house into posh modern art piece Otho, Fact4: Consulting Handbook travel to netherworld waiting room populated by other distressed souls, Fact5: Barbara 's and Adam 's attempts at scaring family prove counterproductive despite ability to shape-shift into monsters

Barbara and Adam Maitland decide to spend their vacation decorating their idyllic Connecticut country home. As the two are driving home from a trip to town, Barbara swerves to avoid a dog and the car plunges into a river. After they return home, Adam decides to retrace their steps as they cannot recall how they got home. Upon stepping outside, he is taken to a desert world with monstrous sandworms before being pulled back in by Barbara. Even though he had been gone for less than a minute, Barbara claims he had been gone for two hours. She and Adam notice that they now lack reflections and they discover a Handbook for the Recently Deceased and realize they did not survive the crash. The house is sold and the new owners, the Deetz family, arrive from New York City. Charles Deetz is a former real estate developer; his wife Delia, a sculptor; and his goth daughter Lydia, from his first marriage, is an aspiring photographer. Under the guidance of interior designer Otho, Delia begins to transform the house into a posh modern art piece. Consulting the Handbook, the Maitlands travel to a netherworld waiting room populated by other distressed souls, where they discover that the afterlife is structured according to a complex bureaucracy involving vouchers and the usual overworked caseworkers. The Maitlands own caseworker, Juno, informs them that they must remain in the house for 125 years. If they want the Deetzes out of the house, it is up to them to scare them away. Barbaras and Adams attempts at scaring the family prove counterproductive, despite their ability to shapeshift into monsters. While the Maitlands are away seeing Juno, Lydia discovers the handbook and reads it. Although Adam and Barbara remain invisible to Charles and Delia, Lydia can see the ghost couple and befriends them. Against Junos advice, the Maitlands contact the miscreant Betelgeuse, Junos former assistant and now freelance bioexorcist ghost, to scare away the Deetzes. However, Betelgeuse quickly offends the Maitlands with his crude and morbid demeanor; and they reconsider hiring him, though too late to stop him from wreaking havoc on the Deetzes. The small towns charm and the supernatural events inspire Charles to pitch his boss Maxie Dean on transforming the town into a tourist hot spot, but Maxie wants proof of the ghosts. Using the Handbook for the Recently Deceased, Otho conducts what he thinks is a seance and summons Adam and Barbara, but they begin to decay and die, as Otho had unwittingly performed an exorcism instead. Horrified, Lydia begrudgingly summons Betelgeuse for help; but he agrees to help her only on the condition that she marry him, enabling him to freely cause chaos in the mortal world. Betelgeuse saves the Maitlands and disposes of Maxie, his wife, and Otho, then prepares a wedding before a ghastly minister. The Maitlands intervene before the ceremony is completed, with Barbara riding a sandworm through the house to devour Betelgeuse. Finally, the Deetzes and Maitlands agree to live in harmony within the house. Betelgeuse is stuck in the afterlife waiting room; there, he attempts to cut in front of a witch doctor, who shrinks his head in retaliation. Being Betelgeuse, however, he remains upbeat: This could be a good look for me. Meanwhile, Adam, Barbara, and Lydia are seen in a remodeled part of the house dancing to Harry Belafontes Jump in the Line with Lydia floating in the air to celebrate Lydia getting an A on her math test at school.