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: skyrocketing crime rate leads city of Johannesburg to buy squadron of scouts, Fact2: autonomous androids are developed by British scientist Deon Wilson, Fact3: competing project within company is controlled MOOSE developed by Australian soldier-turned-engineer Vincent Moore, Fact4: Deon steals damaged robot along with guard key needed to update robot 's software, Fact5: Ninja grows impatient with development due to both impending deadline for debt and Chappie 's irreplaceable battery running out giving him days to live

A skyrocketing crime rate leads the city of Johannesburg, South Africa to buy a squadron of scouts—stateoftheart armourplated attack robots—from weapons manufacturer Tetravaal. These autonomous androids are developed by British scientist Deon Wilson and largely supplant the overwhelmed human police force. A competing project within the company is the remotely controlled MOOSE, developed by Australian soldierturnedengineer Vincent Moore. Deon is praised for Tetravaals success but Vincent grows envious when the police are unwilling to give his heavy weapons platform equal attention. At home, Deon creates a prototype artificial intelligence that mimics a human mind to the point of feeling emotions and having opinions, but Tetravaal CEO Michelle Bradley refuses to let him test the A.I. on a police robot. Undeterred, Deon steals a recently damaged robot before it is destroyed and puts it in his van, along with the guard key needed to update the robots software. On his way home, he is kidnapped by a group of gangsters, Ninja, Yolandi, and Amerika, who threaten to kill him unless he reprograms a police robot to help them steal. Deon installs the new software into the damaged robot, which responds with childlike trepidation upon powering up. Deon and Yolandi calm the robot, teaching it words and naming it Chappie. Despite Deon wanting to stay with the robot, Ninja forces him out of their hideout. Ninjas gang only has a few days to pay a debt of 20 million rand to Hippo, a powerful gangster. Yolandi sees Chappie as a child and wants to mother him, but Ninja grows impatient with his development due to both the impending deadline for the debt and Chappies irreplaceable battery running out, giving him days to live. Ninja tries to train Chappie to be a gangster by leaving him in a dangerous neighborhood to fend for himself. After being wounded by thugs, he is followed by Vincent, who plans to deactivate all Tetravaal scouts except for MOOSE. Vincent successfully extracts the guard key for his own use, but the traumatized Chappie escapes and returns to the hideout. Yolandi scolds Ninja for this mistreatment, but he manages to earn Chappies forgiveness by training him in martial arts and weapon handling. Ninja and Amerika trick Chappie into stealing cars for them, and lie about needing the money to replace his dying body. At Tetravaal, Vincent uses the guard key to upload a virus, thus sabotaging and disabling all scouts including Chappie. Johannesburgs criminals immediately run rampant in the streets, and Deon brings Chappie to the Tetravaal factory to fix him. After being restarted, Chappie notices a helmet used to control MOOSE. At the hideout, he reengineers it to allow him to transfer his consciousness into a computer, so he can change bodies when his current one dies. Ninjas gang uses Chappie to rob an armored car, an act which is caught on the news, prompting Tetravaal to pursue him. When Chappie learns that Ninjas plan to acquire the body was a lie, he prepares to kill Ninja for betrayal. However, Deon arrives to warn them that Michelle Bradley has ordered that Chappie be destroyed. At that moment, the MOOSE robot controlled remotely by Vincent is launched to assassinate Deon and Chappie at the hideout, at the same time that Hippo arrives to collect his debt. Amerika and Hippo are killed in the ensuing battle, while Deon is mortally wounded. When Ninja is about to be killed, Yolandi sacrifices herself to save him and Chappie destroys MOOSE by detonating a bomb. Enraged by Yolandis death, Chappie drives Deon to the factory, storms into an office, and fiercely beats Vincent close to death. He then transfers the dying Deons consciousness into a spare robot through the modified MOOSE helmet. In return, the nowrobotic Deon wirelessly transfers Chappies consciousness into one of the nearby disabled scouts. Deon and Chappie go into hiding as the police discontinue their contract with Tetravaal. While burning memorabilia of Yolandi, the grieving Ninja finds a box containing a doll copy of her and a flash drive marked Mommys Consciousness Test Backup which contains a copy of Yolandis consciousness that Chappie took while testing the device on her. Chappie hacks into Tetravaals manufacturing facility, builds a robot resembling Yolandi, and uploads the drives contents.