def n_queens(n: int) -> int:
    # your move 