A person covers half of his journey at $30 \mathrm{~km} / \mathrm{hr}$ and the remaining half at $20 \mathrm{~km} / \mathrm{hr}$. The average speed for the whole journey is
(a) $25 \mathrm{~km} / \mathrm{hr}$
(b) $28 \mathrm{~km} / \mathrm{hr}$
(c) $32 \mathrm{~km} / \mathrm{hr}$
(d) None of these