Find the sum of all the positive integers which have at most three not necessarily distinct prime factors where the primes come from the set $\{ 2, 3, 5, 7 \}$.

Let's think step by step and output the final answer within \boxed{}.
user