@staticmethod
def p2():
    fib = [1, 2]
    while (fib[(- 1)] < (4 * (10 ** 6))):
        fib.append((fib[(- 1)] + fib[(- 2)]))
    print(sum(fib[1:(- 1):3]))
@staticmethod
def p2():
    fib = [1, 2]
    while (fib[(- 1)] < (4 * (10 ** 6))):
        fib.append((fib[(- 1)] + fib[(- 2)]))
    print(sum(fib[1:(- 1):3]))