input.txt 150 B

1234567891011121314151617181920212223
  1. he-JK
  2. wy-KY
  3. pc-XC
  4. vt-wy
  5. LJ-vt
  6. wy-end
  7. wy-JK
  8. end-LJ
  9. start-he
  10. JK-end
  11. pc-wy
  12. LJ-pc
  13. at-pc
  14. xf-XC
  15. XC-he
  16. pc-JK
  17. vt-XC
  18. at-he
  19. pc-he
  20. start-at
  21. start-XC
  22. at-LJ
  23. vt-JK