H,S=map(int,input().split()) H%=10 S%=10 if (H-S)%2==0:print("Possible") else:print("Impossible")