{"raw_statement":[{"iden":"problem statement","content":"When Takahashi writes an integer, he uses a comma every third digit from the right. For example, $1234567$ is written as `1,234,567`, and $777$ is written as `777`.\nHow many commas will be used in total when he writes each integer from $1$ through $N$ once?"},{"iden":"constraints","content":"*   $1 \\leq N \\leq 10^{15}$\n*   $N$ is an integer."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$"},{"iden":"sample input 1","content":"1010"},{"iden":"sample output 1","content":"11\n\nNo comma is used in writing $999$ or smaller numbers. One comma is used in writing each of the numbers from $1000$ through $1010$.\nThus, $11$ commas are used in total."},{"iden":"sample input 2","content":"27182818284590"},{"iden":"sample output 2","content":"107730272137364"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}