





'''simple docstring'''


def 	__a(SCREAMING_SNAKE_CASE_  :					int = 4000000    ):



    '''simple docstring'''





    _lowerCAmelCase				=      [0, 1]
    _lowerCAmelCase				=      0
    while fib[i] <= n:
        fib.append(fib[i] + fib[i + 1]    )
        if fib[i + 2] > n:
            break
        i += 1
    _lowerCAmelCase				=      0
    for j in range(len(SCREAMING_SNAKE_CASE_    ) - 1    ):
        if fib[j] % 2 == 0:
            total += fib[j]

    return total


if __name__ == "__main__":
       print(f'''{solution() = }''')











'''simple docstring'''


import math


def 	__a(SCREAMING_SNAKE_CASE_  :					int = 100    ):



    '''simple docstring'''





    _lowerCAmelCase				=      sum(i * i for i in range(1		,       n + 1    )    )
    _lowerCAmelCase				=      int(math.pow(sum(range(1		,       n + 1    )    )		,       2    )    )
    return square_of_sum - sum_of_squares


if __name__ == "__main__":
       print(f'''{solution() = }''')


