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.
One integer n (1 ≤ n ≤ 10^18
) - the number of escalator steps.
Print the total number of digits in the numbers of the signed steps.