Santosh Betha's submission of A vs B | CodeChef