#abc136b. [abc136_b]Uneven Numbers
[abc136_b]Uneven Numbers
Problem Statement
Given is an integer . Find the number of positive integers less than or equal to that have an odd number of digits (in base ten without leading zeros).
Constraints
Input
Input is given from Standard Input in the following format:
Output
Print the number of positive integers less than or equal to that have an odd number of digits.
Sample Input 1
11
Sample Output 1
9
Among the positive integers less than or equal to , nine integers have an odd number of digits: .
Sample Input 2
136
Sample Output 2
46
In addition to , another integers also have an odd number of digits: .
Sample Input 3
100000
Sample Output 3
90909