#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  long long k;
  cin >> n >> k;
  string res = "";
  int op = 0;
  n--;
  res += '(';
  while (n && k) {
    while (k <= op) {
      op--;
      res += ")";
    }
    op++;
    n--;
    res += "(";
    k -= op;
  }
  if (k != 0) return cout << "Impossible\n", 0;
  op++;
  while (op--) res += ')';
  for (int i = 0; i < n; ++i) res += "()";
  cout << res;
  return 0;
}
