Only P's drink and S's age
The rule states: If a person is drinking beer, then they must be over 18 years old. This can be represented logically as: Drinking Beer $\implies$ Age > 18.
To ensure this rule is followed, we need to check cases that could potentially violate it. This involves checking the contrapositive form of the rule as well: If a person is not over 18 (i.e., Age $\le$ 18), then they must not be drinking beer (i.e., not Drinking Beer).
Based on the analysis:
Therefore, the checks needed are P's drink and S's age.
Consider a linear arrangement of seven bulbs, each of which can be in the ON or OFF states. The initial configuration of the bulbs is shown in the figure. In every Step, the states of the bulbs are changed based on the following rules:
The state of bulbs at the end of Step 1 and Step 2 are also shown in the figure.
The number of bulbs which are ON at the end of Step 8 is ______

Consider a five-digit number PQRST that has distinct digits P, Q, R, S and T, and satisfies the following conditions:
$P < Q$
$S > P > T$
$R < T$
If integers 1 through 5 are used to construct such a number, the value of P is: