#coding: UTF-8 import os n=input() w=input() for num in n: total += w[num] harf = total / 2 if harf % 2 ==1: print "impossible" os._exit(0) w.sort() w.reserve() for num in n: if w[num] > harf: print "impossible" os._exit(0) elif w[num] == harf: print "possible" os._exit(0) else: x=n break xharf=w[x]-harf for i in range(x+1,n): flag = w[x] if w[i] < xharf: flag += w[i] for j in range(i-1,n): if (flag+w[j]) < harf: flag += w[j] if flag == harf: print "possible" os._exit(0) print "impossible" os._exit(0)