H, S = input().split(' ') H, S = map(int, [H[-1],S[-1]]) ans = ['Impossible', 'Possible'][H%2 == S%2] print(ans)