Yerzhan Utkelbayev's submission of Counting Matrices | CodeChef