Ryodan's submission of Doofish Matrix | CodeChef