Problem

ARC176 A - 01 Matrix Again

1 ≦ N ≦ 10

0 ≦ M ≦ 4

k = 8