S=input() a,b=S.index(' ')-1,len(S)-1 a,b=int(S[a]),int(S[b]) if a%2!=b%2: print('Impossible') else: print('Possible')