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