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 a single integer.
A221033 \n
A221033
\n
21 \n
21
A223635 \n
A223635
22 \n
22
A232726 \n
A232726
23 \n
23