/*#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
int k;
cin >> k;
std::string answer;
std::string answer2;
if (k % 2 == 0 && n % 2 == 0) {
for (int i = 0; i < n; i++) {
answer += "()";
i++;
}
for (int j = 0; j < n; j++) {
answer2 += "()";
j++;
}
if (0 < k && k < n) {
//answer2[1] forward k;
}
else if (k == n){
//answer2[1] push_back && answer2[3] forward 2, does not account for if k == 2 and n == 2 impossible
answer2.push_back(answer2[1]);
answer2.erase(answer2[1]);
}
} else {
cout << "IMPOSSIBLE";
}
cout << answer << endl;
cout << answer2 << endl;
}