#P17645. [ICPC 2019 Yinchuan R] Fibonacci Sequence
[ICPC 2019 Yinchuan R] Fibonacci Sequence
Problem Description
The Fibonacci sequence is a sequence of natural numbers, and is defined as follows:
- ;
- ; and
- for .
Write a program to output the first numbers in the Fibonacci sequence.
Input Format
There is no input for this problem.
Output Format
Output integers indicating the first numbers in the Fibonacci sequence. Any two adjacent numbers in the output are separated by exactly one space.
1 1 2 3 5