Let $\sum_{i=1}^{n}g(x_{i}) = G$. What is important is that I do't know the value of $g(x_{1}),...,g(x_{n})$, and I only know the value of their summation.
How I can compute the answer of the following summation based on $G$ $$\sum_{i=1}^{n}g(x_{i})e^{x_{i}}$$