N = int(input()) W = list(map(int,input().split())) W.sort(reverse=True) a,b = 0,0 for w in W: if a>=b:b+=w else:a+=w print("possible" if a==b else "impossible")