Input (grade 4): July 31 - Pope Sergius IV succeeds Pope John XVIII as the 142nd pope.
Output (grade 2): Sergius IV succeeds John XVIII as Pope.