# Fibonacci Series

**Problem Statement**

Write a program to generate the Fibonacci Series upto N terms for all N > 0.

**Input Output Specifications**

- Each line of the input file contains a single positive integer N, 0 <= N <= 40.
- You must keep reading the input till EOF. There is more than one input.
- Corresponding to each input integer, print out the Fibonacci Series up to N terms.
- Each number should be followed by a space.

**Sample Input**

`2 `

3

5

**Sample Output**

`1 1 `

1 1 2

1 1 2 3 5

*Problem Setter: Kaustubh Karkare*

**Languages:**C,C++,Java