Five friends $P, Q, R, S$ and $T$ went camping. At night, they had to sleep in a row inside the tent. $\mathrm{P}, \mathrm{Q}$ and $\mathrm{T}$ refused to sleep next to $\mathrm{R}$ since he snored loudly. $\mathrm{P}$ and $\mathrm{S}$ wanted to avoid Q as he usually hugged people in sleep.
Assuming everyone was satisfied with the sleeping arrangements, what is the order in which they slept?
(A) RSPTQ
(B) SPRTQ
(C) QRSPT
(D) QTSPR
Five friends $P, Q, R, S$ and $T$ went camping. At night, they had to sleep in a row inside the tent. $\mathrm{P}, \mathrm{Q}$ and $\mathrm{T}$ refused to sleep next to $\mathrm{R}$ since he snored loudly. $\mathrm{P}$ and $\mathrm{S}$ wanted to avoid Q as he usually hugged people in sleep.
Assuming everyone was satisfied with the sleeping arrangements, what is the order in which they slept?
(A) RSPTQ
(B) SPRTQ
(C) QRSPT
(D) QTSPR