h,s=input().split() h=int(h[-1]) s=int(s[-1]) if (h+s)%2: print('Impossible') else: print('Possible')