H,S = [int(i) for i in input().split()] if ord(H) == ord(S) or even(H) == even(S): print("Possible") else: print("Impossible")