2382.Ace It!

Time Limit: 1s Memory Limit: 256MB

Input Format(From the terminal/stdin)

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(To the terminal/stdout)

Output a single integer.

Sample Input 1

Copy
A221033
       \n

Sample Output 1

Copy
21
  \n

Sample Input 2

Copy
A223635
       \n

Sample Output 2

Copy
22
  \n

Sample Input 3

Copy
A232726
       \n

Sample Output 3

Copy
23
  \n

Submit

请先 登录

© 2025 FAQs