Input (grade 9): Reigning until the age of 93, he was the oldest pope, and had the third longest pontificate, behind Pius IX and John Paul II.
Output (grade 6): He was the oldest pope and had the second longest papal reign before John Paul2.