# -*- coding: utf-8 -*-
"""
Created on Thu May  7 13:08:19 2026

@author: student
"""
'''
def wektor(n = 3):
    w = []
    for i in range(n):
        w.append(float(input("Podaj współrzedną: ")))
    return w

w = wektor(4)
print(w)

v = wektor(3)
print(v)

def iloczynS(a, b):
    iloczyn = 0
    for i in range(min(len(a), len(b))):
        iloczyn += a[i] * b[i]
    return iloczyn

print(iloczynS(w, v))
'''
'''
def remove_duplicatates(list):
    res = []
    for e in list:
        if e not in res:
            res.append(e)
    
    return res

list = [1,2,3,2,1,2,5]
res = remove_duplicatates(list)
print(res)

def remove_duplicatates_reverse(list):
    reverse = list[::-1]
    uniqe_val = remove_duplicatates(reverse)
    return uniqe_val[::-1]

res = remove_duplicatates_reverse(list)
print(res)

def remove_duplicatates_reverse2(list):
    res = []
    n = len(list)
    for i in range(-1, -n-1, -1):
        if list[i] not in res:
            res.insert(0, list[i])

    return res

res = remove_duplicatates_reverse2(list)
print(res)
'''
n=int(input('podaj liczbe wyrazow ciagu f.'))
def fib(n):
    for i in range(n
    