nh, ns = input().split() h = int(nh[-1]) s = int(ns[-1]) if (h-s) % 2 == 0: print("Possible") else: print("Impossible")