Expression can be executed as the order defined by operator precedence and the small brackets  in the expression.

5*9+9*(8+6)=171

is calculate correctly.