Rosetta Problems

Beginner Free Contest 19 - PARENTHESIS

https://oj.vnoi.info/problem/fcb019_parenthesis