Fazal's submission of A vs B | CodeChef