{"raw_statement":[{"iden":"problem statement","content":"For an integer $n$, let $S(n)$ be the sum of digits in the decimal notation of $n$. For example, we have $S(123) = 1 + 2 + 3 = 6$.\nGiven two $3$\\-digit integers $A$ and $B$, find the greater of $S(A)$ and $S(B)$."},{"iden":"constraints","content":"*   All values in input are integers.\n*   $100 \\le A, B \\le 999$"},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$A$ $B$"},{"iden":"sample input 1","content":"123 234"},{"iden":"sample output 1","content":"9\n\nWe have $S(123) = 1 + 2 + 3 = 6$ and $S(234) = 2 + 3 + 4 = 9$, so we should print the greater of these: $9$."},{"iden":"sample input 2","content":"593 953"},{"iden":"sample output 2","content":"17"},{"iden":"sample input 3","content":"100 999"},{"iden":"sample output 3","content":"27"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}