[Br:1][C:2]1[C:3]([NH2:9])=[N:4][CH:5]=[C:6]([Cl:8])[CH:7]=1.Cl[C:11]([C:14]([O:16][CH2:17][CH3:18])=[O:15])=[CH:12][O-].[K+].S(=O)(=O)(O)O>C(O)C>[Br:1][C:2]1[C:3]2[N:4]([C:11]([C:14]([O:16][CH2:17][CH3:18])=[O:15])=[CH:12][N:9]=2)[CH:5]=[C:6]([Cl:8])[CH:7]=1A mixture of 3-bromo-5-chloropyridin-2-amine (1.0 g), potassium 2-chloro-3-ethoxy-3-oxoprop-1-en-1-olate (2.27 g), sulfuric acid (0.334 mL) and ethanol (20 mL) was heated with reflux overnight. The solvent was evaporated under reduced pressure, the residue was neutralized with saturated aqueous sodium bicarbonate solution, and the mixture was extracted with ethyl acetate. The organic layer was washed with water and saturated brine, and 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), and the obtained solid was recrystallized from ethyl acetate/hexane to give the title compound (0.84 g).