{"raw_statement":[{"iden":"problem statement","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?"},{"iden":"constraints","content":"*   The length of $S$ is $6$.\n*   $S$ consists of `0` and `1`."},{"iden":"inputs","content":"Input is given from Standard Input in the following format:\n\n$S$"},{"iden":"sample input 1","content":"111100"},{"iden":"sample output 1","content":"4\n\nThe first, second, third and fourth problems are accepted, for a total of four."},{"iden":"sample input 2","content":"001001"},{"iden":"sample output 2","content":"2"},{"iden":"sample input 3","content":"000000"},{"iden":"sample output 3","content":"0"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}