Given the function $Q$ that takes as input two sequences of positive integers $X = [x_1, x_2, ... x_n]$ and $Y = [y_1, y_2, ... y_n]$, $n \in [1, ... \infty]$ and returns the quotient of their sums
$$ Q(X, Y) = \frac{\sum_{i=0}^n x_i}{\sum_{i=0}^n y_i} $$
Is there any function $f(x, y)$ such that the function $S$
$$ S(X, Y) = \sum_{i=1}^{n} f(x_i, y_i) $$
respects that:
For any pairs of sequences $(A, B)$ and $(C, D)$:
If $Q(A, B) > Q(C, D)$ then $S(A, B) > S(C, D)$
If no such function $f$ can exists, does it exist if we relax it to:
If $Q(A, B) > Q(C, D)$ then $S(A, B) > S(C, D) + \epsilon$, for $\epsilon < 0$ bounded by some function of $(A, B)$ or $(C, D)$.
NOTE: The function $f$ is a function of the individual sequence elements only, i.e. $f(x_i, y_i)$ has no knowledge of the rest of the sequences $X_{j\neq i}$ and $Y_{j\neq i}$.