Can someone explain the sample output for this problem?

my doubts-

  1. What is N? Is it the size of the chessboard or the number of knights? Or both?
  2. Do we need to place exactly N knights?
  3. Explain the given output
    thanku