Find the sum of all positive rational numbers that are less than 10 and that have denominator 30 when written in lowest terms.

(第一十届AIME1992 第1题)