Starting with this position, fill the board with two complete chess sets of white and black pieces (2 kings, 2 queens, 4 bishops, 4 knights, 4 rooks, and 16 pawns of each color, 64 pieces total) in such a way that:
- No king is in check. (Intervening pieces block horizontal, vertical, and diagonal checks, of course.)
- There are no pawns on the first or eighth ranks. (In chess, ranks (rows) are numbered from bottom up, so the first rank is at the bottom, eighth rank at the top.)
- There are exactly two white pawns and exactly two black pawns on each file (column), with each of the two white pawns occupying a lower-numbered rank than each of the two black pawns.
- There are at most five white pawns on any rank, and at most five black pawns on any rank.
- All pieces on the first and second ranks are white, and all pieces on the seventh and eighth ranks are black.
- Of the four white bishops, two are on light squares and two are on dark squares, and similarly for the four black bishops.
- No white rook is on the same rank or file as any black rook or black queen, and no black rook is on the same rank or file as any white rook or white queen.
- No white bishop is on the same diagonal as any black bishop or black queen, and no black bishop is on the same diagonal as any white bishop or white queen.
- No white queen is on the same rank, file, or diagonal as any black queen.
- No white knight is a knight’s move away from any black knight.