#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
void yes() {
  cout << "Yes"
       << "\n";
}
void no() {
  cout << "No"
       << "\n";
}
struct Sync_stdio {
  Sync_stdio() {
    cin.tie(NULL);
    ios_base::sync_with_stdio(false);
  }
} _sync_stdio;
struct FAIL {
  FAIL() {
    cout << "CHANGE!!!"
         << "\n";
  }
};
int go(long long n, long long k) {
  if (n == 0) {
    return 0;
  }
  if (n <= k + 1) {
    cout << "(";
    go(n - 1, k - n + 1);
    cout << ")";
  } else {
    cout << "()";
    go(n - 1, k);
  }
}
int main() {
  long long n, k;
  cin >> n >> k;
  if (n * (n - 1) / 2 < k) {
    cout << "Impossible";
    return 0;
  }
  go(n, k);
  return 0;
}
