Input (grade 9): As a former President of Ireland he was accorded a state funeral.
Output (grade 8): As a former President of Ireland he was given a state funeral.