Rosetta Problems

Bracket and Permutation

https://atcoder.jp/contests/arc141/tasks/arc141_c