G SAN's submission of A vs B | CodeChef