A1, A2, ..., An의 matrices가 주어졌을 때, 각각의 곱을 구하고자 한다.
→ A1 * A2 * ... * An
순서에 따라서 게산량의 차이가 발생한다.
순서와 상관없이 답은 동일하다.
밍쥬등장!!!!
matrics가 n개 일 때 곱하기를 하는 방법