read `DiGpaths.txt`: B:=3: d:=1: K:=6: for B from 3 to 4 do for r from 1 to 6 do print(`The number of solutions with `, i+r , `missionaries `, i, ` cannibals , Boat size`, B, ` and safety margin`, d , `for i from 1 to `, K, ` are `): print(``): lprint(SeqrBd(r,B,d,K)): print(``): od: od: quit: