2077 : Redraiment is a child

时间限制:0 Sec 内存限制:0 MiB
提交:19 答案正确:3

提交 状态 讨论区

题目描述

Redraiment is a child ,He likes to hop on the stairs .

But the young man could only walk up to the first step or two at a time.

Now, there are N steps, and you can calculate the number of ways that Redraiment is going from the first to the N order.


输入

The first line contains ans integer T (1<=T<=100) representing the number of test cases.

For each test case,the only line contains a positive integer n (1<=n<=1e12).

输出

For each test case ,print one line with ans integer refers to the number of ways that Redraiment is going from the first to the N order.

The answer modulo 1e9+7.

样例输入

复制
1
1

样例输出

复制
1

提示


			

来源