In how many ways can cells in a $3 \times 3$ grid be shaded, such that each row and each column have exactly one shaded cell? An example of one valid shading is shown.

Step 1: Model the constraint.
Each row must contain exactly one shaded cell and each column must contain exactly one shaded cell.
This is equivalent to placing $3$ non-attacking rooks on a $3\times3$ board—one per row and one per column.
Step 2: Interpret as a permutation.
Choose, for each row $i\in\{1,2,3\}$, the column $j$ where its single shaded cell goes.
Because columns cannot repeat, this assignment is a permutation of the three columns.
Step 3: Count the permutations.
Number of permutations of $3$ distinct columns $= 3! = 6$.
\[
\boxed{6}
\]
Consider a five-digit number PQRST that has distinct digits P, Q, R, S, and T, and satisfies the following conditions:
1. \( P<Q \)
2. \( S>P>T \)
3. \( R<T \)
If integers 1 through 5 are used to construct such a number, the value of P is:



