



def 	UpperCAmelCase   (						_lowerCamelCase    ):
			A							:					Tuple              =						0
			while num > 0:
						digit_sum += num % 10
						num //= 10
			return digit_sum




def 	UpperCAmelCase   (						_lowerCamelCase = 100    ):
			A							:					Optional[int]              =						1
			A							:					int              =						2

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

			return sum_digits(_lowerCamelCase    )


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




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__SCREAMING_SNAKE_CASE           =  {
    """configuration_instructblip""": [
        """INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """InstructBlipConfig""",
        """InstructBlipQFormerConfig""",
        """InstructBlipVisionConfig""",
    ],
    """processing_instructblip""": ["""InstructBlipProcessor"""],
}

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							__SCREAMING_SNAKE_CASE           =  [
							    """INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST""",
							    """InstructBlipQFormerModel""",
							    """InstructBlipPreTrainedModel""",
							    """InstructBlipForConditionalGeneration""",
							    """InstructBlipVisionModel""",
							]

if TYPE_CHECKING:
							from .configuration_instructblip import (
							    INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP,
							    InstructBlipConfig,
							    InstructBlipQFormerConfig,
							    InstructBlipVisionConfig,
							)
							from .processing_instructblip import InstructBlipProcessor

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_instructblip import (
														    INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST,
														    InstructBlipForConditionalGeneration,
														    InstructBlipPreTrainedModel,
														    InstructBlipQFormerModel,
														    InstructBlipVisionModel,
														)

else:
							import sys

							__SCREAMING_SNAKE_CASE           =  _LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)