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