h, s = input().split() h = int(h[-1]) s = int(s[-1]) print('Possible' if (abs(h - s) % 2 == 0) else 'Impossible')