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