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