Sample input is different from the problem statement!

Can you explain the problem what it is required??

The sample output shown in the figure has some-configuration having less than 2 knights and some have greater than 2 knights