Rybka is going to format Watson's hard drive partition. This partition should contain sectors, sequentially numbered with decimal integers starting from . How many digits does Rybka need to label all the sectors?
The input consists of two positive integers and (1 \le N, A \le 10^8).
Print the number of digits required for labeling all the sectors.
Example 1