h, s = input().split() x = int(h[-1]) if h[0] == '-': x *= -1 y = int(s[-1]) if s[0] == '-': y *= -1 if (x + y) % 2 == 1: print("Impossible") else: print("Possible")