Fact1: British agent While is wounded trying to escape from East to West Berlin, Fact2: MI6 sends James Bond find out identity of seller, Fact3: real egg appear at auction in London, Fact4: Bond follows Khan back to palace, Fact5: Gobinda captures Bond to Khan 's palace
Output: While trying to escape from East to West Berlin, British agent 009 is fatally wounded and dies after reaching the residence of the British Ambassador, dressed as a circus clown and carrying a fake Faberge egg. MI6 immediately suspects Soviet involvement and, after seeing the real egg appear at an auction in London, sends James Bond to investigate and find out the identity of the seller. At the auction, Bond is able to swap the real egg with the fake and engages in a bidding war with exiled Afghan prince Kamal Khan, forcing Khan to pay £500,000 for the fake egg. Bond follows Khan back to his palace in Rajasthan, India, where Bond defeats Khan in a game of backgammon. Bond escapes with his contact Vijay, foiling the attempts of Khans bodyguard Gobinda to kill the pair. Bond is seduced by one of Khans associates, Magda, and notices that she has a blueringed octopus tattoo. Bond permits Magda to steal the real Faberge egg fitted with listening and tracking devices by Q, while Gobinda captures and takes Bond to Khans palace. After Bond escapes from his room, he listens in on the bug in the Faberge egg and discovers that Khan is working with Orlov, a Soviet general, who is seeking to expand Soviet control into WestCentral Europe. After escaping from Khans palace, Bond infiltrates a floating palace in Udaipur, India, and there finds its owner, Octopussy, a wealthy business woman, smuggler and associate of Khan. She also leads the Octopus cult, of which Magda is a member. Octopussy has a personal connection with Bond: she is the daughter of the late Major DexterSmythe, whom Bond was assigned to arrest for treason. Bond allowed the Major to commit suicide rather than face trial, and Octopussy thanks him for offering her father an honorable alternative, inviting Bond to stay on as her guest. Earlier in Khans palace and later in Octopussys palace, Bond finds out that Orlov has been supplying Khan with priceless Soviet treasures, replacing them with replicas while Khan has been smuggling the real versions into the West via Octopussys circus troupe. Orlov is planning to meet Khan at KarlMarxStadt Chemnitz in East Germany, where the circus is scheduled to perform. Gobinda sends mercenaries to kill Bond, but he and Octopussy gain the upper hand when the assassins break into the palace. Bond learns from Q that Vijay has been killed by the goons. Travelling to East Germany, Bond infiltrates the circus and finds out that Orlov replaced the Soviet treasures with a nuclear warhead, primed to explode during the circus show at a US Air Force base in West Germany. The explosion would trigger Europe into seeking disarmament in the belief that the bomb was a US one that detonated by accident, leaving its borders open to a Soviet invasion. Bond takes Orlovs car, drives it along the train tracks and boards the moving circus train. Orlov gives chase, but is killed at the border by East German guards after they mistake Orlov for a defector. Bond kills the twin knifethrowing assassins Mischka and Grischka and, after falling from the train, commandeers a car to get to the airbase. Bond penetrates the base and disguises himself as a clown to evade the West German police. He attempts to convince Octopussy that Khan has betrayed her by showing her one of the treasures found in Orlovs car, which she was to smuggle for him. Octopussy realizes that she has been tricked, and assists Bond in deactivating the warhead. Bond and Octopussy return separately to India. Bond arrives at Khans palace just as Octopussy and her troops have launched an assault on the grounds. Octopussy attempts to kill Khan, but is captured by Gobinda. While Octopussys team, led by Magda, overpower Khans guards, Khan and Gobinda abandon the palace, taking Octopussy as a hostage. Bond pursues them as they attempt to escape in their plane, clinging to the fuselage and disabling the tailplanes. In the subsequent struggle with Bond, Gobinda takes a deadly plummet off the roof of the plane and Bond rescues Octopussy from Khan, the pair jumping onto a nearby cliff only seconds before the plane crashes into a mountain, killing Khan. While M and General Gogol discuss the transport of the jewelery, Bond recuperates with Octopussy aboard her private boat in India.