#A712. Fibbonacci Number
Fibbonacci Number
Problem Description
Your objective for this question is to develop a program which will generate a fibbonacci number. The fibbonacci function is defined as such:
Your program should be able to handle values of in the range 0 to 50.
Input
Each test case consists of one integer in a single line where . The input is terminated by -1
.
Output
Print out the answer in a single line for each test case.
Samples
3
4
5
-1
2
3
5