Two men $A$ and $B$ walk from $P$ to $Q$ at a distance of $21 \mathrm{~km}$ at rates 3 and $4 \mathrm{~km}$ an hour, respectively. $B$ reaches $Q$ and returns immediately and meets $A$ at $R$. The distance from $P$ to $R$ is
(a) $14 \mathrm{~km}$
(b) $20 \mathrm{~km}$
(c) $16 \mathrm{~km}$
(d) $18 \mathrm{~km}$