For this Question: Given an integer N, find the number of integers from 1 to N, that are odd as well as have odd number of digits, eg: 333 will be counted while 33 or 332 will not be counted.The first line and the only line of the input contains an integer N.

Constraints
1 <= N <= 100000Output a single integer, the number of integers that are odd as well as have odd number of digits in their decimal representation.Sample Input
13

Sample Output
5

Explanation: Only 1, 3, 5, 7, and 9 meet the criteria.

Sample Input
101

Sample Output
6, I have written this Solution Code: a=int(input())
p=0
for i in range((a)+1):
	if (i)%2!=0 and len(str(i))%2!=0:
		p+=1
print(p), In this Programming Language: Python, Now tell me if this Code is compilable or not?