For up to 1000 queries, compute the x-th Fibonacci number modulo 10^9, where x can be as large as 2^48.
Read an integer xxx and compute f(x)f(x)f(x) modulo 10910^9109, where f(x)f(x)f(x) is the xxx-th value of the Fibonacci sequence.
The Fibonacci sequence is defined as follows.
f(1)=f(2)=1f(1) = f(2) = 1f(1)=f(2)=1
f(k)=f(k−1)+f(k−2)(k>2)f(k) = f(k-1) + f(k-2) \quad (k > 2)f(k)=f(k−1)+f(k−2)(k>2)
The first line contains the number of test cases ttt (1≤t≤10001 \le t \le 10001≤t≤1000).
Each of the next ttt lines contains one integer xxx (1≤x≤2481 \le x \le 2^{48}1≤x≤248).
For each test case, print f(x)f(x)f(x) modulo 10910^9109 on its own line.