{"problem":{"name":"Accepted...?","description":{"content":"Snuke prepared $6$ problems for a upcoming programming contest. For each of those problems, Rng judged whether it can be used in the contest or not. You are given a string $S$ of length $6$. If the $i","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"tenka1_2017_a"},"statements":[{"statement_type":"Markdown","content":"Snuke prepared $6$ problems for a upcoming programming contest. For each of those problems, Rng judged whether it can be used in the contest or not.\nYou are given a string $S$ of length $6$. If the $i$\\-th character of $s$ is `1`, it means that the $i$\\-th problem prepared by Snuke is accepted to be used; `0` means that the problem is not accepted.\nHow many problems prepared by Snuke are accepted to be used in the contest?\n\n## Constraints\n\n*   The length of $S$ is $6$.\n*   $S$ consists of `0` and `1`.\n\n## Inputs\n\nInput is given from Standard Input in the following format:\n\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"tenka1_2017_a","tags":[],"sample_group":[["111100","4\n\nThe first, second, third and fourth problems are accepted, for a total of four."],["001001","2"],["000000","0"]],"created_at":"2026-03-03 11:01:14"}}