Some error with input A = 4


#1

My code is giving the following as output
() (((()))) ((()())) ((())()) ((()))() (()(())) (()()()) (()())() (())(()) (())()() ()((())) ()(()()) ()(())() ()()(()) ()()()()

But when I run my code using the test with custom input and input as 4, I get the following result:
(((()))) ((()())) ((())()) ((()))() (()(())) (()()()) (()())() (())(()) (())()() ()((())) ()(()()) ()(())() ()()(()) ()()()()

which is also the expected output, i.e. my code is correct pls, fix the issue at the backend.