Input (grade 11): Mahmud Shah Durrani Persian Ù Ù Ø Ø Ø Ù Ø Ø Ø Ù Û was the ruler of the Durrani Empire between 1801 and 1803, again between 1809 and 1818.
Output (grade 7): Mahmud Shah Durrani was the ruler of the Durrani Empire between 1801 and 1803, again between 1809 and 1818.