What if contestants score the same?

We have different comparison parameters for Grade 1-6 and grades 7-12. For grades 1-6, if 2 students score the same, they both will be awarded the same percentile. For grades 7-12, if more than one student scores the same, then the one who has scored higher in section 3 will get the higher percentile. If that too remains the same, then the one who scores higher in section 2 will get the higher percentile. If that too remains the same then both students get the same percentile.