xyz111's submission of Counting Matrices | CodeChef