N=int(input()) W=list(map(int,input().split())) S=sum(W) L=set(W) if S&1: L.clear() else: for i in W: L|=set([i+x for x in L]) print("possible" if S/2 in L else "impossible")