input.txt 26 B

1234567
  1. 6
  2. 1 2
  3. 1 3
  4. 2 3
  5. 2 4
  6. 3 4
  7. 3 5