5989 FOR L=KM TO KN