p, q = map(int, input().split()) if 3 * p <= q: print("Impossible") exit() else: assert False