Cl[C:2]1[N:3]=[C:4]([NH:12][CH2:13][CH:14]=[C:15]([CH3:17])[CH3:16])[C:5]2[S:10][CH:9]=[C:8]([CH3:11])[C:6]=2[N:7]=1.[CH2:18]([NH2:21])[CH:19]=[CH2:20].C(=O)([O-])O.[Na+]>>[CH2:18]([NH:21][C:2]1[N:3]=[C:4]([NH:12][CH2:13][CH:14]=[C:15]([CH3:17])[CH3:16])[C:5]2[S:10][CH:9]=[C:8]([CH3:11])[C:6]=2[N:7]=1)[CH:19]=[CH2:20]268 mg (1.0 mmol) of 2-chloro-7-methyl-4-(3-methyl-2-butenylamino)thieno[3,2-d]pyrimidine and 914 mg (16.0 mmol) of allylamine were heated in a sealed tube at 160° C. for 16 hours. After completion of the reaction, the reaction mixture was allowed to resume room temperature, followed by adding a saturated aqueous sodium hydrogen carbonate solution thereto and extraction with ethyl acetate (50 ml×2). After the organic layer was washed with brine and dried over anhydrous sodium sulfate, the solvent was distilled off. The residue was purified by silica gel chromatography (eluent: ethyl acetate-hexane=1/4) to give 201 mg (yield: 69.8%) of the title compound.