#include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin>>N;
if(N%2==0){
vector<bool> A(N);
for(int i=0;i<N;i++){
if(i<N/2){
A[i]=true;
}else{
A[i]=false;
}
}
for(int i=0;i<N;i++){
if(A[i]==true){
cout<<"(";
}else{
cout<<")";
}
}
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: