[Cl:1][C:2]1[CH:3]=[C:4]([CH:6]=[CH:7][C:8]=1[F:9])[NH2:5].CC[O:12][CH:13]=[C:14]([C:20](OCC)=O)[C:15]([O:17][CH2:18][CH3:19])=[O:16]>>[CH2:18]([O:17][C:15]([C:14]1[C:13](=[O:12])[C:6]2[C:4](=[CH:3][C:2]([Cl:1])=[C:8]([F:9])[CH:7]=2)[NH:5][CH:20]=1)=[O:16])[CH3:19]A mixture of 3-chloro-4-fluoroaniline (1.46 g) and diethyl ethoxymethylene malonate (2.16 g) was heated at 120°-130° C. After 2 hours, the resulting ethanol was evaporated off. The residue was added to diphenyl ether (50 ml) and refluxed for 1 hour. After the solution cooled, the resulting precipitate was filtered, washed with benzene, and dried. The solid was recrystallized from N,N-dimethylformamide (DMF) to give 7-chloro-6-fluoro-1,4-dihydro-4-oxoquinoline-3-carboxylic acid ethyl ester (3.2 g).