\(3S=1+\frac{1}{3}+\frac{1}{3^2}+...+\frac{1}{3^7}+\frac{1}{3^8}\)
\(3S-S=\left(1+\frac{1}{3}+\frac{1}{3^2}+...+\frac{1}{3^8}\right)-\left(\frac{1}{3}+\frac{1}{3^2}+...+\frac{1}{3^9}\right)\)
\(2S=1-\frac{1}{3^9}=\frac{19682}{19683}\)
\(S=\frac{19682}{19683}:2=\frac{9841}{19683}\)