Input (grade 9): Bahadur Shah was exiled to Rangoon, Burma where he died in 1862, finally bringing the Mughal dynasty to an end.
Output (grade 10): The British sent Bahadur Shah II, the last Mughal Emperor, out of India, and kept him in Yangon (then called Rangoon), Burma where he died in 1862.