




def 	_a      (						SCREAMING_SNAKE_CASE_							:				Any     ):
					__lowerCAmelCase				   =       0
					while num > 0:
										digit_sum += num % 10
										num //= 10
					return digit_sum







def 	_a      (						SCREAMING_SNAKE_CASE_							:				Union[str, Any] = 1_00     ):
					__lowerCAmelCase				   =       1
					__lowerCAmelCase				   =       2

					for i in range(2      ,      max_n + 1     ):
										__lowerCAmelCase				   =       pre_numerator
										__lowerCAmelCase				   =       2 * i // 3 if i % 3 == 0 else 1
										__lowerCAmelCase				   =       cur_numerator
										__lowerCAmelCase				   =       e_cont * pre_numerator + temp

					return sum_digits(lowerCAmelCase__     )


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








'''simple docstring'''
import unittest

from accelerate import debug_launcher
from accelerate.test_utils import require_cpu, test_ops, test_script




@require_cpu
class 			lowerCamelCase_   (	unittest.TestCase      ):






      def lowercase_							(					self				:    Tuple ):


          '''simple docstring'''


          debug_launcher(test_script.main )






      def lowercase_							(					self				:    List[str] ):


          '''simple docstring'''


          debug_launcher(test_ops.main )
