


def   _UpperCAmelCase       (     UpperCAmelCase      :			int = 100      ):
      """simple docstring"""




      __lowerCamelCase     :      Any       						=						(n * (n + 1) // 2) ** 2
      __lowerCamelCase     :      Optional[int]       						=						n * (n + 1) * (2 * n + 1) // 6
      return sum_cubes - sum_squares


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







def   _UpperCAmelCase       (     UpperCAmelCase      :			int = 4_000_000      ):
      """simple docstring"""




      __lowerCamelCase     :      Union[str, Any]       						=						[0, 1]
      __lowerCamelCase     :      Dict       						=						0
      while fib[i] <= n:
            fib.append(fib[i] + fib[i + 1]      )
            if fib[i + 2] > n:
                  break
            i += 1
      __lowerCamelCase     :      Any       						=						0
      for j in range(len(UpperCAmelCase      ) - 1      ):
            if fib[j] % 2 == 0:
                  total += fib[j]

      return total


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



