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