# インプットが超巨大数だ H, S = map(str, input().split()) H_num = int(H[-1]) S_num = int(S[-1]) #print(H_num, S_num) if (H_num-S_num)%2==0: print('Possible') else: print('Impossible')