I don't believe the example provided is relevant. "$n$ integers not necessarily distinct" means that the same integer may appear more than once, so all we know is that our set of integers $A$ has cardinality $n$ but we can't don't know exactly which integers are in $A$, except that they fit into some sort of sequence.
If we're assuming $A = \{1, 2, \ldots, n\}$, however, we can work with that.
Let's start with $n$ being even. There are $n-1$ sums that use $1$, and the sums alternate being even and odd. Since the first and last are odd, there is one more odd sum than there are even sums.
Next, there are $n-2$ remaining sums that use $2$. This sequence of sums alternates odd and even like before, and it starts odd $(2 + 3)$ and ends even $(2 + n)$ so there are exactly as many even sums as there are odd sums.
Continuing this argument, we find that every odd number in the sequence $\{1, 2, \ldots, n\}$ produces exactly one more odd sum than even sum, and that every even number produces the same amount of both. Therefore there are $\frac{n}{2}$ more odd sums than even sums.
Now consider when $n$ is odd. Using the same method, we find now that the odd numbers in the sequence $\{1, 2, \ldots, n\}$ yield the same number of sums belonging to $O$ and $E$, while the even numbers yield one more sum belonging to $O$. Therefore there are $\frac{n-1}{2}$ more odd sums than even sums, since there are $n-1$ even numbers in our sequence.
Thus the answer (to the problem I extrapolated from your problem) is $\lfloor \frac{n}{2} \rfloor$.