[C:1]([O:7][CH2:8][CH2:9][S:10][C:11](=[O:13])[CH3:12])(=[O:6])[CH2:2][C:3]([CH3:5])=[O:4].[N+:14]([C:17]1[CH:18]=[C:19]([CH:22]=[CH:23][CH:24]=1)[CH:20]=O)([O-:16])=[O:15].C([O-])(=O)C.[NH2+]1CCCCC1.O>C1C=CC=CC=1>[N+:14]([C:17]1[CH:18]=[C:19]([CH:22]=[CH:23][CH:24]=1)[CH:20]=[C:2]([C:3]([CH3:5])=[O:4])[C:1]([O:7][CH2:8][CH2:9][S:10][C:11](=[O:13])[CH3:12])=[O:6])([O-:16])=[O:15]A solution of 7.0 g of 2-acetylthioethyl acetoacetate, 5.14 g of 3-nitrobenzaldehyde and 0.99 g of piperidinium acetate in 100 ml of benzene was heated at reflux under azeotropic dehydration conditions for 2 hours. The reaction mixture was poured into water and extracted with benzene, and the extract was washed with water and dried over anhydrous sodium sulfate. Evaporation of the solvent under reduced pressure gave 9.83 g of 2-acetylthioethyl 2-(3-nitrobenzilidene)acetoacetate.