#include <bits/stdc++.h>
using namespace std;
void fun(long long int n, long long int k) {
  if (n == 0) {
    return;
  } else if (k == 1 && n == 2) {
    cout << "(())";
    return;
  } else if (k == 0 && n == 2) {
    cout << "()()";
    return;
  } else if (k <= ((n - 1) * (n - 2)) / 2) {
    cout << "()";
    fun(n - 1, k);
    return;
  } else if (k == 0) {
    cout << "()";
    fun(n - 1, 0);
    return;
  } else {
    cout << "(";
    fun(n - 1, k - (n - 1));
    cout << ")";
    return;
  }
}
int main() {
  long long n, k;
  cin >> n >> k;
  if (k > (n * (n - 1)) / 2) {
    cout << "Impossible";
    return 0;
  }
  fun(n, k);
  return 0;
}
