N = int(input()) W = list(map(int, input().split())) S = {0} for w in W: S |= {s + 2*w for s in S} if sum(W) not in S: print("im", end="") print("possible")