Avishake Maji's submission of Pattern D | CodeChef