Fix positive numbers $x_1,\dots,x_n$ with $\sum_{i=1}^nx_i=1$. For any positive numbers $a_1\leq\dots\leq a_n$, we define $$Y=a_1x_1+\dots+a_nx_n,$$ and $y_i=\frac{a_ix_i}{Y}$for all $1\leq i\leq n$.
What are all the possible sequences $(y_1,\dots,y_n)$, i.e., sequences that appear as $(y_1,\dots,y_n)$ for some $a_1\leq\dots\leq a_n$? Are there some succinct sufficient or necessary conditions?
For example, one necessary condition is $y_1\leq x_1$. This is because $$y_1=\frac{a_1x_1}{a_1x_1+\dots+a_nx_n}\leq\frac{a_1x_1}{a_1x_1+\dots+a_1x_n}=x_1.$$ Similarly it is necessary that $y_n\geq x_n$. Are these two together already sufficient?