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