[NH2:1][C:2]1[C:9]([Br:10])=[CH:8][C:5]([C:6]#[N:7])=[CH:4][N:3]=1.Cl[C:12]([C:15]([O:17][CH2:18][CH3:19])=[O:16])=[CH:13][O-].[K+].S(=O)(=O)(O)O.C(=O)(O)[O-].[Na+]>C(O)C>[Br:10][C:9]1[C:2]2[N:3]([C:12]([C:15]([O:17][CH2:18][CH3:19])=[O:16])=[CH:13][N:1]=2)[CH:4]=[C:5]([C:6]#[N:7])[CH:8]=1A mixture of 6-amino-5-bromonicotinonitrile (6.3 g), potassium 2-chloro-3-ethoxy-3-oxoprop-1-en-1-olate (15 g), sulfuric acid (2.2 mL) and ethanol (160 mL) was heated with reflux for 30 hr. To the reaction mixture was added saturated aqueous sodium bicarbonate solution, and the mixture was extracted with ethyl acetate. The extract was dried over anhydrous magnesium sulfate, and the solvent was evaporated under reduced pressure. The residue was purified by silica gel column chromatography (ethyl acetate/hexane) to give the title compound (4.3 g).