[tex] \displaystyle \\
\texttt{Calculam media aritmetica: } \\ \\
m_a = \frac{17000 + 93000 + 40000}{3}= \frac{150000}{3}= 50000\\ \\
\texttt{prima sora primeste: } 50000 - 17000 = \boxed{33000~Lei} \\
\texttt{a doua sora cedeaza: } 93000 - 50000 = \boxed{43000~Lei} \\
\texttt{a treia sora primeste: } 50000 - 40000 = \boxed{10000~Lei} \\
[/tex]