H, S = input().split() h, s = int(H[-1]), int(S[-1]) print("Possible") if (h - s) % 2 == 0 else print("Impossible")