

def 						_snake_case(    SCREAMING_SNAKE_CASE__			:	int | float | str      )							->      tuple[int, int]:





    '''simple docstring'''






    try:
        A__          =   float(SCREAMING_SNAKE_CASE__      )
    except ValueError:
        raise ValueError('Please enter a valid number'      )
    A__          =   decimal - int(SCREAMING_SNAKE_CASE__      )
    if fractional_part == 0:
        return int(SCREAMING_SNAKE_CASE__      ), 1
    else:
        A__          =   len(str(SCREAMING_SNAKE_CASE__      ).split('.'      )[1]      )
        A__          =   int(decimal * (10**number_of_frac_digits)      )
        A__          =   10**number_of_frac_digits
        A__      ,						A__          =   denominator, numerator
        while True:
            A__          =   dividend % divisor
            if remainder == 0:
                break
            A__      ,						A__          =   divisor, remainder
        A__      ,						A__          =   numerator / divisor, denominator / divisor
        return int(SCREAMING_SNAKE_CASE__      ), int(SCREAMING_SNAKE_CASE__      )


if __name__ == "__main__":
     print(f"""{decimal_to_fraction(2) = }""")
     print(f"""{decimal_to_fraction(89.0) = }""")
     print(f"""{decimal_to_fraction("67") = }""")
     print(f"""{decimal_to_fraction("45.0") = }""")
     print(f"""{decimal_to_fraction(1.5) = }""")
     print(f"""{decimal_to_fraction("6.25") = }""")
     print(f"""{decimal_to_fraction("78td") = }""")




import os

# Precomputes a list of the 100 first triangular numbers
lowercase_       		=  [int(0.5 * n * (n + 1)) for n in range(1, 101)]
def 						_snake_case(    )							->      int:





    '''simple docstring'''






    A__          =   os.path.dirname(os.path.realpath(SCREAMING_SNAKE_CASE__      )      )
    A__          =   os.path.join(SCREAMING_SNAKE_CASE__    ,			'words.txt'      )

    A__          =   ''
    with open(SCREAMING_SNAKE_CASE__      ) as f:
        A__          =   f.readline()

    A__          =   [word.strip('"'      ) for word in words.strip('\r\n'      ).split(','      )]
    A__          =   [
        word
        for word in [sum(ord(SCREAMING_SNAKE_CASE__      ) - 64 for x in word      ) for word in words]
        if word in TRIANGULAR_NUMBERS
    ]
    return len(SCREAMING_SNAKE_CASE__      )


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

