# coding: utf-8 # Your code here! H,S=map(str,input().split()) H=int(H[-1]) S=int(S[-1]) if H%2==S%2: print("Possible") else: print("Impossible")