Translate word problem to arithmetic expression (#834)