'''simple docstring'''




import math





def      _UpperCAmelCase    (							_UpperCamelCase    :	int   )	->      list[int]:
    if not isinstance(_UpperCamelCase,   _UpperCamelCase   ):
        A_     =   F'''Input value of [number={number}] must be an integer'''
        raise TypeError(_UpperCamelCase   )
    if number < 1:
        A_     =   F'''Input value of [number={number}] must be a positive integer'''
        raise ValueError(_UpperCamelCase   )
    A_     =   [number]
    while number != 1:
        if number % 2 == 0:
            A_     =   math.floor(math.sqrt(_UpperCamelCase   )   )
        else:
            A_     =   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'''
from transformers import PretrainedConfig
class  _snake_case						(__SCREAMING_SNAKE_CASE):
			__A   :     Optional[Any]          ="custom"






			def __init__(   self       ,_snake_case=1       ,**_snake_case			):
				UpperCAmelCase_			:	Optional[int]      =   attribute
				super().__init__(**_snake_case			)




class  _snake_case						(__SCREAMING_SNAKE_CASE):
			__A   :     Dict          ="custom"






			def __init__(   self       ,_snake_case=1       ,**_snake_case			):
				UpperCAmelCase_			:	Optional[int]      =   attribute




