Sanjeet Mahato's submission of Doofish Matrix | CodeChef