I was looking at a previous post, and was curious to the following extension:
Suppose I have positive integers $x_1,\dots,x_n$, and another positive integer $m<n$. If we were to arbitrarily group the indices into two disjoint sets $\mathcal{A}$ and $\mathcal{B}$, such that $|\mathcal{A}|=m$ and $|\mathcal{B}|=n-m$ (also $A\cup B=\{1,\dots,n\}$), is there an upper bound as a function of $\frac{1}{n}\sum_{i=1}^nx_i$ (or $\frac{1}{n-m}\sum_{i=1}^nx_i$) for the following sum of means when $m=o(n)$? \begin{align*} \frac{1}{m}\sum_{i\in\mathcal{A}}x_i+\frac{1}{n-m}\sum_{j\in\mathcal{B}}x_j. \end{align*} For example, if $n=m-n$ (i.e., $m=\frac{n}{2}$), then \begin{align*} \frac{1}{m}\sum_{i\in\mathcal{A}}x_i+\frac{1}{n-m}\sum_{j\in\mathcal{B}}x_j =\frac{2}{n}\sum_{i=1}^nx_i. \end{align*} I'm curious about the upper bound for the more general case of $m=o(n)$.
Clarification: I'm considering the scenario where the groups are already given to us (we can't choose what to put in each group). I was wondering if we can get an upper bound of constant * $\frac{1}{n}\sum_{i=1}^nx_i$ (or $\frac{1}{n-m}\sum_{i=1}^nx_i$), i.e., something similar to the case of $m=n-m$.