{"problem":{"name":"Large Digits","description":{"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$. Given two $3$\\-digit integers $A$ and $B$, find the greater of $S(A)$","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc187_a"},"statements":[{"statement_type":"Markdown","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)$.\n\n## Constraints\n\n*   All values in input are integers.\n*   $100 \\le A, B \\le 999$\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$A$ $B$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc187_a","tags":[],"sample_group":[["123 234","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$."],["593 953","17"],["100 999","27"]],"created_at":"2026-03-03 11:01:14"}}