# This computes the Fibonacci numbers: 1 2 3 5 8 13 21 34 55 89 ....
# Each number is the sum of the two previous ones

def main():
    older = 1
    old = 2
    print older
    print old
    done = False
    while not done:
        fib = older + old
        if fib > 1000:
            done = True
        else:
            print fib
            older = old
            old = fib

main()
        
