


"""simple docstring"""





from math import ceil


def      _snake_case						(						_snake_case				:			int = 1001			):
      lowerCAmelCase					:	Dict       =   1

      for i in range(1 ,   int(ceil(n / 2.0			)			)			):
            lowerCAmelCase					:	List[str]       =   2 * i + 1
            lowerCAmelCase					:	List[str]       =   2 * i
            lowerCAmelCase					:	Tuple       =   total + 4 * odd**2 - 6 * even

      return total


if __name__ == "__main__":
 import sys

 if len(sys.argv) == 1:
  print(solution())
 else:
  try:
   snake_case__		:     Dict    				=				int(sys.argv[1])
   print(solution(n))
  except ValueError:
   print('''Invalid entry - please enter a number''')






"""simple docstring"""





def      _snake_case						(						_snake_case				:			int = 4000000			):
      lowerCAmelCase					:	int       =   [0, 1]
      lowerCAmelCase					:	List[str]       =   0
      while fib[i] <= n:
            fib.append(fib[i] + fib[i + 1]			)
            if fib[i + 2] > n:
                  break
            i += 1
      lowerCAmelCase					:	int       =   0
      for j in range(len(_snake_case			) - 1			):
            if fib[j] % 2 == 0:
                  total += fib[j]

      return total


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


