In an increasing sequence of four positive integers, the first three terms form an arithmetic progression, the last three terms form a geometric progression, and the first and fourth terms differ by $$30.$$ Find the sum of the four terms.

(第二十一届AIME1 2003 第8题)