Input (grade 13): The Chalukyas and Pallavas fought numerous battles and the Pallava capital Kanchipuram was occupied by Vikramaditya II during the reign of Nandivarman II.
Output (grade 7): The Pallavas were at their finest during the reigns of Narasimhavarman I and Pallavamalla Nandivarman II.