def fibs(n):
    prev = 0
    prev2 = 0
    for i in range(n):
        if (prev == 1 and prev2 != 1) or prev==0:
            yield 1
            prev2 = prev
            prev = 1
        else:
            curr = prev + prev2
            yield curr
            prev2 = prev
            prev = curr



cc285c0b0f121a18d571532ad252207d3331cf74
<mask token>

def fibs(n):
    prev = 0
    prev2 = 0
    for i in range(n):
        if prev == 1 and prev2 != 1 or prev == 0:
            yield 1
            prev2 = prev
            prev = 1
        else:
            curr = prev + prev2
            yield curr
            prev2 = prev
            prev = curr

def fibs(n):
    prev = 0
    prev2 = 0
    for i in range(n):
        if (prev == 1 and prev2 != 1) or prev==0:
            yield 1
            prev2 = prev
            prev = 1
        else:
            curr = prev + prev2
            yield curr
            prev2 = prev
            prev = curr


