Input (grade 6): Hyder Ali died on 12 July 1782 and his son Tippu Sultan became the Mysore King.
Output (grade 6): Hyder Ali died on 12th July 1782 and his son Tippu Sultan became the Mysore King.