out1.txt 80 B

123456789
  1. new scheme:
  2. 2 3
  3. 4 6
  4. 6 8
  5. 9 7
  6. 9 5
  7. 8 3
  8. first res: 13, last res: 9 -> difference: 4