{"problem":{"name":"Digits Sum","description":{"content":"Takahashi has two positive integers $A$ and $B$. It is known that $A$ plus $B$ equals $N$. Find the minimum possible value of \"the sum of the digits of $A$\" plus \"the sum of the digits of $B$\" (in bas","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"agc025_a"},"statements":[{"statement_type":"Markdown","content":"Takahashi has two positive integers $A$ and $B$.\nIt is known that $A$ plus $B$ equals $N$. Find the minimum possible value of \"the sum of the digits of $A$\" plus \"the sum of the digits of $B$\" (in base $10$).\n\n## Constraints\n\n*   $2 ≤ N ≤ 10^5$\n*   $N$ is an integer.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"agc025_a","tags":[],"sample_group":[["15","6\n\nWhen $A=2$ and $B=13$, the sums of their digits are $2$ and $4$, which minimizes the value in question."],["100000","10"]],"created_at":"2026-03-03 11:01:14"}}