Input (grade 13): Although both players start with one queen each, a player can promote a pawn to any of several types of pieces including a queen when the pawn is moved to the player's furthest rank, which is the opponents first rank.
Output (grade 5): Although both players start with one queen each. A player may promote a pawn to a piece, usually a queen, when the pawn is reaches the 8th rank.