solve multiply strings