a, b=1, 1
term=3
number = a+b
while len(str(number))<1000:
    term+=1
    a, b=b, number
    number = a+b
print term

c67dd1e6140188a881e5b9407446ca905ab68693
a, b=1, 1
term=3
number = a+b
while len(str(number))<1000:
    term+=1
    a, b=b, number
    number = a+b
print term
