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