In an A.P., if the 5th term is \( \frac{1}{7} \) and the 7th term is \( \frac{1}{5} \), then the sum of the first 35 terms is ______.