
def 							A__       (    lowerCamelCase    )	->						int:
				UpperCamelCase_:				List[str]						=    0
				while num > 0:
								digit_sum += num % 10
								num //= 10
				return digit_sum







def 							A__       (    lowerCamelCase = 1_00    )	->						int:
				UpperCamelCase_:				str						=    1
				UpperCamelCase_:				Any						=    2

				for i in range(2  ,     max_n + 1    ):
								UpperCamelCase_:				Optional[Any]						=    pre_numerator
								UpperCamelCase_:				str						=    2 * i // 3 if i % 3 == 0 else 1
								UpperCamelCase_:				Union[str, Any]						=    cur_numerator
								UpperCamelCase_:				Tuple						=    e_cont * pre_numerator + temp

				return sum_digits(lowerCamelCase    )


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








import unittest

from transformers import load_tool

from .test_tools_common import ToolTesterMixin

class 							_UpperCamelCase					(       unittest.TestCase  ,							_A	):






			'''simple docstring'''

			def    lowerCAmelCase__						(							self			:							Tuple   ):
							UpperCamelCase_:				List[Any]						=    load_tool("""text-classification"""   )
							self.tool.setup()
							UpperCamelCase_:				Optional[int]						=    load_tool("""text-classification"""    ,						remote=snake_case_   )

			def    lowerCAmelCase__						(							self			:							Optional[Any]   ):
							UpperCamelCase_:				Union[str, Any]						=    self.tool("""That's quite cool"""    ,						["""positive""", """negative"""]   )
							self.assertEqual(snake_case_    ,						"""positive"""   )

			def    lowerCAmelCase__						(							self			:							int   ):
							UpperCamelCase_:				Tuple						=    self.remote_tool("""That's quite cool"""    ,						["""positive""", """negative"""]   )
							self.assertEqual(snake_case_    ,						"""positive"""   )

			def    lowerCAmelCase__						(							self			:							Optional[int]   ):
							UpperCamelCase_:				int						=    self.tool(text="""That's quite cool"""    ,						labels=["""positive""", """negative"""]   )
							self.assertEqual(snake_case_    ,						"""positive"""   )




			def    lowerCAmelCase__						(							self			:							Tuple   ):
							UpperCamelCase_:				List[Any]						=    self.remote_tool(text="""That's quite cool"""    ,						labels=["""positive""", """negative"""]   )
							self.assertEqual(snake_case_    ,						"""positive"""   )






