Given a number d, representing the number of digits of a number. Find the total count of positive integers which have at-least one zero in them and consist d or less digits.
The first line of input contains an integer T denoting the number of test cases.
The first line of each test case is D,D is number of digits.
Print the total count of positive integers which have at-least one zero in them.
1 ≤ T ≤ 15
1 ≤ N ≤ 15
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.