Rybka is going to format Watson’s hard drive partition. This partition should contain N sectors, sequentially numbered with decimal integers starting from A. How many digits Rybka needs to enumerate all sectors?
Positive integers N and A, not exceeding 10^8^{.}
Number of digits necessary for formatting.