Let $S$ be the set of natural numbers whose digits are different and belong to the set $\{1, 3, 5, 7\}$. Calculate the sum of the elements of $S$.

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