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