H,S=input().split() a,b=int(H[-1]),int(S[-1]) if abs(a)%2==abs(b)%2: print('Possible') else: print('Impossible')