#!/usr/bin/env python3
n, x, y = int(input()), 0, 0
for _ in range(n):
    a, b = map(int, input().split())
    x += a
    y += b
print("possible" if x % (n // 2) == 0 and y % (n // 2) == 0 else "impossible")
