


'''simple docstring'''



import math



def       UpperCAmelCase__ (     UpperCAmelCase_   :    int							)					->		list[int]:
     if not isinstance(UpperCAmelCase_				,   UpperCAmelCase_							):
          __lowerCamelCase       :     Dict        =		F'Input value of [number={number}] must be an integer'
          raise TypeError(UpperCAmelCase_							)
     if number < 1:
          __lowerCamelCase       :     Tuple        =		F'Input value of [number={number}] must be a positive integer'
          raise ValueError(UpperCAmelCase_							)
     __lowerCamelCase       :     List[Any]        =		[number]
     while number != 1:
          if number % 2 == 0:
               __lowerCamelCase       :     str        =		math.floor(math.sqrt(UpperCAmelCase_							)							)
          else:
               __lowerCamelCase       :     List[str]        =		math.floor(
                   math.sqrt(UpperCAmelCase_							) * math.sqrt(UpperCAmelCase_							) * math.sqrt(UpperCAmelCase_							)							)
          sequence.append(UpperCAmelCase_							)
     return sequence


if __name__ == "__main__":
      import doctest

      doctest.testmod()










'''simple docstring'''



def       UpperCAmelCase__ (     UpperCAmelCase_   :    int = 4_00_00_00							)					->		int:
     __lowerCamelCase       :     int        =		1
     __lowerCamelCase       :     Union[str, Any]        =		2
     __lowerCamelCase       :     Optional[int]        =		0
     while j <= n:
          if j % 2 == 0:
               total += j
          __lowerCamelCase    ,	__lowerCamelCase       :     List[Any]        =		j, i + j

     return total


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






