text: 2 10
  0 0 0 0 6 1
  0 0 0 0 8 9
  0 0 0 0 9 3
  0 0 0 1 1 1
  0 0 0 1 2 1
  0 0 0 1 9 2
  0 0 0 2 7 9
  0 0 0 3 2 1
  0 0 0 3 7 1
  0 0 0 8 0 7
  0 0 0 8 7 8
  0 0 0 9 0 7
  0 0 0 9 8 2
  0 0 1 0 0 6
  0 0 1 2 9 8
  0 0 3 0 0 6
  0 0 7 1 0 1
  0 0 8 1 1 1
  0 0 8 2 1 1
  0 0 9 0 1 0
  0 0 9 2 1 1
  0 1 0 0 2 2
  0 1 0 0 3 2
  0 1 1 2 1 2
  0 1 1 2 2 2
  0 1 3 2 1 2
  0 1 6 2 2 2
  0 2 0 0 2 2
  0 2 0 0 3 2
  0 2 1 2 2 2
  0 3 0 0 2 2
  0 3 1 1 2 2
  0 3 3 0 0 6
  0 6 0 0 0 3
  0 6 3 0 0 6
  0 9 0 0 0 2
  0 9 0 0 2 2
  1 0 0 5 0 5
  1 0 3 0 0 2
  1 0 5 1 0 1
  1 0 5 2 0 1
  1 0 6 3 0 9
  1 0 9 6 0 1
  1 3 0 0 0 1
  1 5 1 3 0 3
  1 5 2 9 0 3
  1 9 0 0 0 1
  2 1 3 6 9 7
  2 1 7 3 3 3
  2 3 6 0 0 3
  2 3 6 0 9 3
  2 9 0 0 0 1
  2 9 6 0 0 3
  3 0 0 3 0 5
  3 0 0 5 0 5
  3 0 5 1 0 1
  3 0 5 3 0 1
  3 2 0 2 1 2
  3 2 9 0 0 3
  3 3 0 0 0 9
  3 3 1 0 0 3
  3 3 2 0 0 3
  3 3 3 9 9 7
  3 3 7 3 3 3
  3 3 9 0 0 3
  3 5 1 3 0 3
  3 9 0 0 0 9
  5 0 0 1 0 5
  5 0 0 5 0 5
  6 3 9 0 0 3
  6 9 0 0 0 9
  7 0 0 1 0 5
  7 0 0 3 0 5
  9 0 0 0 0 3
  9 3 0 0 0 9
  9 9 0 0 0 9
  