http://codeforces.com/contest/552/problem/E E. Vanya and Brackets time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vanya is doing his maths homework. He has an expression of form , where x1,…