← Home
write a go solution for Description:
None

Input Format:
The only line of the input is a string of 7 characters. The first character is letter A, followed by 6 digits. The input is guaranteed to be valid (for certain definition of "valid").

Output Format:
Output a single integer.

Note:
None. Output only the code with no comments, explanation, or additional text.