Assignment on compounds and chemical formulas