FEN describes a position in six space-separated fields. The first lists the ranks from 8 down to 1, with capital letters for White (K king, Q queen, R rook, B bishop, N knight, P pawn), lowercase for Black and digits for runs of empty squares. The second is the side to move (w or b). The third is the castling rights (K and Q for White, k and q for Black, or - for none). The fourth is the en passant square or -. The fifth is the halfmove clock since the last pawn move or capture. The sixth is the move number, which starts at 1 and goes up after Black moves. The starting position is rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1.