Fibonacci Madness

5

1 votes
Problem

This is Fibonacci madness. Given a number n. Print the first n Fibonacci numbers in reverse order.

Input:

First line is number T denoting number of test cases. T lines follow. Each line has number N.

Output:

Print the first n Fibonacci numbers in reverse order for all test cases.

Constraints:

1 <= T <= 10

0 <= N <= 100

Example

Input:

3

1

7

4

Output:

0

8 5 3 2 1 1 0

2 1 1 0

Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?