
def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase							):
    snake_case__						=				0
    while num > 0:
        digit_sum += num % 10
        num //= 10
    return digit_sum





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase = 100							):
    snake_case__						=				1
    snake_case__						=				2

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

    return sum_digits(__lowerCAmelCase							)


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





from __future__ import annotations

from fractions import Fraction





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase							):
    return (
        num != den and num % 10 == den // 10 and (num // 10) / (den % 10) == num / den
    )





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase							):
    snake_case__						=				[]
    snake_case__						=				11
    snake_case__						=				int("1" + "0" * digit_len							)
    for num in range(__lowerCAmelCase    ,		__lowerCAmelCase							):
        while den <= 99:
            if (num != den) and (num % 10 == den // 10) and (den % 10 != 0):
                if is_digit_cancelling(__lowerCAmelCase    ,		__lowerCAmelCase							):
                    solutions.append(F"""{num}/{den}"""							)
            den += 1
        num += 1
        snake_case__						=				10
    return solutions





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase = 2							):
    snake_case__						=				1.0
    for fraction in fraction_list(__lowerCAmelCase							):
        snake_case__						=				Fraction(__lowerCAmelCase							)
        result *= frac.denominator / frac.numerator
    return int(__lowerCAmelCase							)


if __name__ == "__main__":
     print(solution())



