N = int(input()) W = list(map(int, input().split())) S = sum(W) if S % 2: print("impossible") exit() dp = 1 for i in range(N): dp |= (dp << W[i]) print("possible") if (dp >> (S//2))&1 else print("impossible")