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