Question 25
In this cryptarithm, different letters represent different digits and the same letter always represents the same digit. Given $S=4$, find $S+A+S+M+O$.

Answer format: enter one whole number without units. The source answer sheet uses four digits with leading zeros if needed; ordinary numeric entry is used here.

Answer format: enter one whole number without units. The source answer sheet uses four digits with leading zeros if needed; ordinary numeric entry is used here.