# URL: https://open.kattis.com/problems/railroad2

inp = input().split(' ')

if int(inp[1]) % 2 == 0:
    print('possible')
else:
    print('impossible')

8a91552dd08e69643d2b4ae4096e7e1158d77a8c
<mask token>

<mask token>
if int(inp[1]) % 2 == 0:
    print('possible')
else:
    print('impossible')

inp = input().split(' ')
if int(inp[1]) % 2 == 0:
    print('possible')
else:
    print('impossible')

# URL: https://open.kattis.com/problems/railroad2

inp = input().split(' ')

if int(inp[1]) % 2 == 0:
    print('possible')
else:
    print('impossible')
