import java.util.Scanner;
public class Fibonacci {
public static void main(String[] args) {
int[] numbers;
Scanner scan = new Scanner(System.in);
System.out.println("How many numbers would you like to solve to in the Fibonacci series?");
int num;
num = scan.nextInt();
numbers = new int[2];
numbers[0]=0;
numbers[1]=1;
for(int x =2; x<num; x++){
numbers = new int[x+1]; //Increases array size
numbers[x]=((x-2)+(x-1)); //places Fibonacci value in index
}
for(int i = 0; i < numbers.length; i++){
System.out.println(numbers[i]);
}
}
}