\(-\frac{1}{2}-\left(-\frac{3}{5}\right)+\left(-\frac{1}{9}\right)+\frac{1}{127}-\frac{7}{18}+\frac{4}{35}-\left(-\frac{2}{7}\right)\)
\(=-\frac{1}{2}+\frac{3}{5}-\frac{1}{9}+\frac{1}{127}-\frac{7}{18}+\frac{4}{35}+\frac{2}{7}\)
\(=\left(-\frac{1}{2}-\frac{1}{9}-\frac{7}{18}\right)+\left(\frac{3}{5}+\frac{4}{35}+\frac{2}{7}\right)+\frac{1}{127}\)
\(=\left(-\frac{9}{18}-\frac{2}{18}-\frac{7}{18}\right)+\left(\frac{21}{35}+\frac{4}{35}+\frac{10}{35}\right)+\frac{1}{127}\)
\(=\frac{-18}{18}+\frac{35}{35}+\frac{1}{127}=-1+1+\frac{1}{127}=\frac{1}{127}\)