n = gets
arr = gets.chomp.split.map(&:to_i)
least_odd = nil
arr.each{|x| least_odd = x if x.odd? && (least_odd.nil? || least_odd > x)}
sum = arr.inject(:+)
puts (sum.even? ? sum / 2 : (sum - least_odd) / 2)
