Step 1: First reagent on pyrrole.
Pyrrole with chloroform and base undergoes ring expansion to give 3-chloropyridine.
Step 2: Reaction with sodamide.
Sodamide on 3-chloropyridine goes through a pyridyne intermediate by elimination then addition.
Step 3: Product Y.
The amino group adds next to the lost chlorine, giving 4-aminopyridine as the main product.
Step 4: Answer.
\[ \boxed{\text{C}} \]