SP5196 MONONUM - Monotonous numbers
Description
Some integers possess interesting quality: each of their digits is not greater than the digit to the right. Let us define such integers as increasing integers. And let's call integers for which each digit is not lesser than the digit to the right decreasing integers. For example 24558 is increasing, 888410 is decreasing and 5 - is both increasing and decreasing. Given **n** calculate the ratio of the decreasing **n**-digit integers to the increasing **n**-digit integers. We consider only positive integers. Leading zeros are not allowed.
Input Format
The first line of the input contains number **t** – the amount of tests. Then **t** test descriptions follow. Each test consists of the single integer **n**
Output Format
For each test print the needed ratio with six digits in the fractional part.