They can have different salaries but remember that there is no actual relation between I/L and M/N. The on,y stipulation is that I has to be before N. Taking that into account, the minimum is 7 based on the chain created using the rules outlines in the question.