Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.
Problem hidden

NUMDIG - Challange of Ganju

Ganju is an extreme coder. He recently has solved a problem. Now he wants to challenge you in this problem. In this problem you have to find the number of digits in  xy where x=n! and y=n-th Fibonacci number.

n-th Fibonacci number F(n)=F(n-1)+F(n-2) where n≥2.

F(0)=0 and F(1)=1.

Input Specification:

The first line of input consists of an integer T (1≤T≤100000) which denotes the number of cases. Then T lines follow.

Each line consists of an integer n (0≤n≤1000000).

Output Specification:

For each case print the number of digits in xy where x=n! and y=n-th Fibonacci number. As the number can be very large print it modulo 1000000009.

Sample Input:

2

3

5

Sample Output:

2

11

 


Added by:Tahmid Hamim
Date:2015-09-22
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64 GOSU JS-MONKEY
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.