N = int(input()) W = list(map(int, input().split())) # 最終的には片方の天秤に全体の半分の重さが乗る sum_weight = sum(W) / 2 # 割り切れなければ(少数を含む)天秤は釣り合わない if not sum_weight.is_integer(): print("impossible") exit(0) else: sum_weight = int(sum_weight) # 方針: 合計値だけメモっといて、そこにsum_weightが入っていれば処理終了させる # それ以外のやつは、一度処理したらスキップしたい dp = [False] * (sum_weight + 1) dp[0] = True for i in range(len(W)): for j in range(len(dp) - 1, -1, -1): if not dp[j]: continue if W[i]+j <= sum_weight: # print( # f"i={i}, j={j}, W[i]={W[i]}, dp[j]={dp[j]}, sum_weight={sum_weight}") dp[W[i] + j] = True if W[i] + j == sum_weight: print("possible") exit(0) print("impossible")