N = gets.to_i A = gets.split.map(&:to_i) def shift(x) x / 2 + 2 ** 15 * (x % 2) end if N >= 16 puts 2 ** 16 - 1 else puts 0 end