The question asks for total time that will be required to print a string from a two dimensional matrix. input:
2 31 YLrJpXOygVUl6MqBIRFWuAKs