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: firefight Upon arrival at there is destination, Fact2: diamond is stolen firefight, Fact3: that US customs agent is searching for jewel, Fact4: Katherine pass information on to Jane and Baldwin, Fact5: Baldwin is framed for Katherine 's murder

SOLUTION: Tom Baldwin and Joe Dugan are two American adventurers who are hired to escort the wife of a Chinese general to Shanghai. She is carrying a priceless diamond. Upon their arrival at the destination, there is a firefight, during which the diamond is stolen. The two Americans round up a group of suspects, but have no luck uncovering the stolen jewel. Among the suspects are Jane Dunn and Katherine Collins, an author named Anthony Durand, and Harvey Dinwiddle. They release the suspects, and then make plans to travel to San Francisco. When they board the ship, they are surprised to find that all of the suspects are also aboard the same ship. As they resume their search for the diamond, Baldwin and Dugan discover that Jane is a US customs agent, who is also searching for the jewel. As the search goes on, Baldwin and Jane fall in love. After their room is tossed, Dugan is killed. Katherine is an insurance investigator, who has uncovered some information, but she is killed before she can pass that information on to Jane and Baldwin. Baldwin is framed for Katherines murder, but Jane solves the diamonds theft and the murders, revealing that Durand and his henchman, Dinwiddle, are the perpetrators. Baldwin and Jane are married by the ships captain.

PROBLEM: Fact1: Lou At is shot in groin Lou 's celebratory party, Fact2: Jacob and Nick activate it in to travel back in time to find and stop killer, Fact3: Lou 's killer is from future alternate timeline, Fact4: son Adam Yates Stedmeyer is engaged to girl named, Fact5: group to get drunk at Gary 's club

SOLUTION: Five years after the events of the first film, Lou Dorchen and Nick Webber have become rich and famous, with Lou becoming a multibillionaire and Nick being a successful music singer. At Lous celebratory party, Lou is shot in the groin. Jacob Lous son and Nick drag him to the hot tub time machine and activate it in order to travel back in time to find and stop the killer. When they wake up, they find themselves ten years into the future, where Jacob is in charge of Lous mansion. After determining that they are in an alternate timeline where Lous killer is from this future, they go to their friend Adam Yatess home, only to meet his son Adam Yates Stedmeyer Adam Jr. who is engaged to a girl named Jill. Lou suspects his nemesis Gary Winkle is the killer, however, he learns Gary actually made his own fortune off of some land Lou could have bought. They party at Garys nightclub, where Adam Jr. takes hallucinogens for the first time. The next day, they attend the popular television game show Choozy Doozy, where contestant Nick is required to have virtual reality sex with a man. As Lou suggested the idea, he is obligated to participate, but uses his lifeline to switch with Adam Jr. Jacob becomes disillusioned with the misadventures and leaves the group to get drunk at Garys club and to then commit suicide by jumping off an extremely high building. Lou makes amends with him and prevents his suicide. When the guys see a news report where Brad, an employee of Lougle, invents nitrotrinadium, the ingredient that activates the hot tub time machine, they suspect he is the killer. At Adam Jrs wedding, Jacob talks with Brad and realizes he is not the killer but that he invented the chemical after being inspired by Lous words. Jill, who is upset about Adam Jrs partying, has sex with Lou, but when Adam Jr. finds out, he steals the nitrotrinadium and goes back to the past. Jacob, Nick and Lou return to the mansion, but are too late to stop Adam Jr. As the guys sit in defeat, Jacob realizes that because the chemical has appeared in the past, it now exists in the future. They return to the present and stop Adam Jr. from shooting Lou after Lou apologizes to him. Following this, Nick apologizes to Courtney as Lou tells his wife he wants to go to rehab for his drug addictions. Adam Jr. meets Jill for the first time. The more optimistic Jacob approaches Sophie his girlfriend in the future and convinces her to join him in a relationship. As Lou, Nick, Jacob, and Adam Jr. return to the hot tub, Lous head is shot off by a Lou or Adam Sr. in the Unrated version dressed in a minuteman costume. Patriot Lou informs them there are multiple Lous anyway and invites them to make America happen. During the closing credits, the guys are seen exploiting the time machine to change history.

PROBLEM: Fact1: Steve asks Frank to go in place, Fact2: As film progresses story moves and forth through timeline of Steve 's childhood and aftermath of Frank 's first Lindy hop, Fact3: Steve 's friend does not appear at dance class, Fact4: Frank 's depressive state makes him uncomfortable in environment, Fact5: Frank 's friends from grief therapy convince him to continue

SOLUTION:
Frank Keane Robert Carlyle is a grieving baker unable to move on after his wifes suicide. Frank happens upon a car accident involving Steve Mills John Goodman who has suffered serious injuries. Steve was on his way to a ballroom dancing class in Pasadena to meet a childhood friend and asks Frank to go in his place. Frank reluctantly agrees. As the film progresses the story moves back and forth through the timeline of Steves childhood, the accident scene, and the aftermath of Franks first Lindy hop. Steves friend does not appear at the dance class. Franks depressive state makes him uncomfortable in an environment with so many people. However, he is drawn to shy student Meredith Marisa Tomei. Some of the students caution him against talking to her. Merediths partner Randall Donnie Wahlberg, the star pupil, is an obnoxious bully who takes an instant dislike to Frank and tries to intimidate him. Franks friends from grief therapy convince him to continue with the dance class and soon the entire therapy group has joined. As the class progresses Frank discovers a natural talent for dance that surpasses Randalls. Randall jealously slashes Franks tires in an attempt to scare off the baker. Frank ignores the attack against the advice of others and forms a friendship with Meredith, who is revealed as Randalls stepsister and not his abused girlfriend as people assumed. Meredith defends her stepbrothers overprotective behavior, which developed in response to their fathers violent physical abuse. Frank eventually scatters his wifes ashes, an act he had been unwilling to perform in the past. He begins to put his life back together. He tracks down Steves childhood friend Camryn Manheim to inform her of Steves death. She reacts as if their missed reunion means nothing, but privately she cries as she sifts through her mementos of Steve. Frank and Meredith begin a relationship, and with the other members of the dance class continue to find friendship and healing in dance.