Petr Mitrichev's submission of Matrix and Chef | CodeChef