Step 1: Understand the reaction of acylazides.
Acylazides (\( \text{RCON}_3 \)) undergo a nucleophilic substitution reaction with water or other nucleophiles, producing amides (\( \text{R–NH}_2 \)).
Step 2: Conclusion.
Thus, acylazide in acidic or alkaline medium reacts to form R–NH\(_2\).