Four oxides of period 3 elements are shaken with water and then tested with acid and alkali. Oxide P dissolves to give a solution of pH 13 to 14. Q is sparingly soluble and gives a solution of pH 9 to 10. R is insoluble in water but dissolves in both dilute hydrochloric acid and aqueous sodium hydroxide. S is insoluble in water and in acid, but reacts with hot concentrated sodium hydroxide. Which row identifies the oxides?