s, t = map(str, input().split()) x = int(s[-1]) + int(t[-1]) if(x & 1): print("Impossible") else: print("Possible")