What are X and Y respectively in the following reaction sequence?

What are X and Y respectively in the following reaction sequence?
  1. $\mathrm{NH}_2 \mathrm{NH}_2, \mathrm{C}_6 \mathrm{H}_5\mathrm{SO}_2 \mathrm{Cl} /$ Pyridine
  2. $\mathrm{NH}_2 \mathrm{NH}_2,\left(\mathrm{CH}_3 \mathrm{CO}\right)_2 \mathrm{O}$
  3. $\mathrm{NH}_2 \mathrm{OH}, \mathrm{C}_6 \mathrm{H}_5 \mathrm{SO}_2 \mathrm{Cl} /$ Pyridine
  4. $\mathrm{NH}_2 \mathrm{OH} ;\left(\mathrm{CH}_3 \mathrm{CO}\right)_2 \mathrm{O}$

Asked in: AP EAMCET 2024 (18 May Shift 1)

Practice more Amines questions on Aicharya