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