# Escalator

Easy

Execution time limit is 1 second

Runtime memory usage limit is 128 megabytes

A new metro station will open in Baku soon. The escalator in the metro consists of n steps, numbered with integers from 1 to n. On the steps with numbers multiple of ten, as well as on the first and last step, they write their numbers. When you write a number the same amount of paint goes for each digit.

To calculate the required amount of paint, you need to know how many digits will be written. Write a program that determines how many digits will be used in the numbers of signed steps.

## Input

One integer n (1 ≤ n ≤ `10^18`

) - the number of escalator steps.

## Output

Print the total number of digits in the numbers of the signed steps.

## Examples

Input #1

Answer #1

Input #2

Answer #2

Submissions 594

Acceptance rate 21%