Add solution for brackets