def main() n = gets.to_i w = gets.split(" ").map{|a| a.to_i} if w.sum % 2 != 0 puts "impossible" return end a = Array.new(11000, 0) a[0] = 1 for i in 0...n for j in 0...(10000) if a[j] == 1 a[w[i] + j] = 1 end end end if a[w.sum/2] == 1 puts "possible" else puts "impossible" end end main()