Avishake Maji's submission of Pattern B | CodeChef