Input (grade 12): Habemus Papam ("We Have a Pope") is the announcement given in Latin by the senior Cardinal Deacon upon the election of a new pope.
Output (grade 10): Habemus Papam refers to the announcement given in Latin by the Senior Cardinal Deacon when a new Pope has been chosen.