N = int(input()) W = list(map(int,input().split())) S = {0} for w in W: newS = set() for s in S: newS.add(s + w) newS.add(s - w) S = newS if 0 in S: print("possible") else: print("impossible")