In how many ways can we place a king and a rook on a chessboard so that neither attacks the other? (The squares of the chessboard are labeled in the usual way with letters and numbers; two positions are considered different if at least one of the pieces is on a different square in the two positions.)