a,b=map(int,input().split()) print("Possible" if (int(a[-1])+int(b[-1]))%2==0 else "Impossible")