import strutils, sequtils, tables, math let N, X = stdin.readLine.split.map parseInt var dic = initCountTable[int]() for x in X: dic.inc x.abs mod 2 var ans = 0 for i in 0 ..< 2: try: ans += -1 ^ i * dic[i] except: discard echo ans.abs