#include <bits/stdc++.h>
using namespace std;
int n;
long long k;
void solve(int x) {
  while (n && k >= x) {
    n--;
    k -= x;
    putchar('(');
    if (n && k >= x + 1) solve(x + 1);
    putchar(')');
  }
}
int main() {
  cin >> n >> k;
  if (n * 1ll * (n - 1) / 2 < k) return puts("Impossible");
  solve(0);
  return 0;
}
