Help for SC31 problem

Problem Link: SC31 Problem - CodeChef

Just wanted to ask this question what happens when the 1st person doesn’t defeat the second person??