input.txt 36 B

123456
  1. 4
  2. 0 5 0 5
  3. 5 0 5 0
  4. 0 5 0 5
  5. 5 0 5 0
  6. 0