Root century sets up consolatory win