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