# Author: Scott Wehrwein
# Date: 05/10/2019
# A program to compute and store the fibonacci sequence
# up to a given number n in a list

import sys
n = int(sys.argv[1])

fib_list = [0, 1]

for i in range(2, n):
    fib_list.append(fib_list[-1] + fib_list[-2])
    
    print(fib_list)