Remove the grammatical errors from the following text.
By comparing the total mark of different plans, they decide the final plan.
By comparing the total mark of the different plans, they decide on the final plan.