


'''simple docstring'''






def    _snake_case  (	A			)		->       int:

							if not isinstance(A					,       A			):
														raise TypeError('''only integers accepted as input'''			)
							else:
														lowerCAmelCase__			  =      str(abs(A			)			)
														lowerCAmelCase__			  =      [list(A			) for char in range(len(A			)			)]
														for index in range(len(A			)			):
																					num_transpositions[index].pop(A			)
														return max(
														    int(''''''.join(list(A			)			)			) for transposition in num_transpositions			)


if __name__ == "__main__":
		__import__('''doctest''').testmod()







def 	UpperCamelCase	(							snake_case__  : int	):




     '''simple docstring'''






     __snake_case      :List[Any] 							=    0
     while num > 0:
          digit_sum += num % 10
          num //= 10
     return digit_sum






def 	UpperCamelCase	(							snake_case__  : int = 100	):




     '''simple docstring'''






     __snake_case      :Tuple 							=    1
     __snake_case      :Dict 							=    2

     for i in range(2						,max_n + 1	):
          __snake_case      :Optional[int] 							=    pre_numerator
          __snake_case      :List[Any] 							=    2 * i // 3 if i % 3 == 0 else 1
          __snake_case      :Dict 							=    cur_numerator
          __snake_case      :Optional[Any] 							=    e_cont * pre_numerator + temp

     return sum_digits(snake_case__	)


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


