def fibonacci():
    a, b = 0, 1
    while True:
        a, b = b, a+b
        yield a


for a in fibonacci():
    print(a)
    if a % 17 == 0:
        print('found')
        break

    if a > 20000:
        print('not found')
        break
