{"raw_statement":[{"iden":"problem statement","content":"Find the sum of the integers between $1$ and $N$ (inclusive), whose sum of digits written in base $10$ is between $A$ and $B$ (inclusive)."},{"iden":"constraints","content":"*   $1 \\leq N \\leq 10^4$\n*   $1 \\leq A \\leq B \\leq 36$\n*   All input values are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$ $A$ $B$"},{"iden":"sample input 1","content":"20 2 5"},{"iden":"sample output 1","content":"84\n\nAmong the integers not greater than $20$, the ones whose sums of digits are between $2$ and $5$, are: $2,3,4,5,11,12,13,14$ and $20$. We should print the sum of these, $84$."},{"iden":"sample input 2","content":"10 1 2"},{"iden":"sample output 2","content":"13"},{"iden":"sample input 3","content":"100 4 16"},{"iden":"sample output 3","content":"4554"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}