lis = {}
def fibo1(n):

	if n in lis:
		return lis

	if (n==1):
		value = 1
	elif(n ==2 ):
		value = 2
	else :
		value = fibo1(n-1) + fibo1(n-2)

import time
t1= time.time()
fi = fibo1(40)
t2 = time.time() - t1
print(fi, '   ', t2)
087ad3f8857ce4aa7b8bf347ab6c559a4ce3c219
<mask token>


def fibo1(n):
    if n in lis:
        return lis
    if n == 1:
        value = 1
    elif n == 2:
        value = 2
    else:
        value = fibo1(n - 1) + fibo1(n - 2)


<mask token>

<mask token>


def fibo1(n):
    if n in lis:
        return lis
    if n == 1:
        value = 1
    elif n == 2:
        value = 2
    else:
        value = fibo1(n - 1) + fibo1(n - 2)


<mask token>
print(fi, '   ', t2)

lis = {}


def fibo1(n):
    if n in lis:
        return lis
    if n == 1:
        value = 1
    elif n == 2:
        value = 2
    else:
        value = fibo1(n - 1) + fibo1(n - 2)


<mask token>
t1 = time.time()
fi = fibo1(40)
t2 = time.time() - t1
print(fi, '   ', t2)

lis = {}


def fibo1(n):
    if n in lis:
        return lis
    if n == 1:
        value = 1
    elif n == 2:
        value = 2
    else:
        value = fibo1(n - 1) + fibo1(n - 2)


import time
t1 = time.time()
fi = fibo1(40)
t2 = time.time() - t1
print(fi, '   ', t2)

lis = {}
def fibo1(n):

	if n in lis:
		return lis

	if (n==1):
		value = 1
	elif(n ==2 ):
		value = 2
	else :
		value = fibo1(n-1) + fibo1(n-2)

import time
t1= time.time()
fi = fibo1(40)
t2 = time.time() - t1
print(fi, '   ', t2)