Preparando MOJI

Ace It!

2000ms 65536K

Description:

Input:

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:

Output a single integer.

Sample Input:

A221033

Sample Output:

21

Sample Input:

A223635

Sample Output:

22

Sample Input:

A232726

Sample Output:

23

Informação

Codeforces

Provedor Codeforces

Código CF656F

Tags

*special

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 09:05:39

Relacionados

Nada ainda