Kunal Singhal's submission of Counting Matrices | CodeChef