




def lowerCamelCase__       (      _lowercase = 3			,						_lowercase = 7			,						_lowercase = 1000000				):

     '''simple docstring'''


     UpperCAmelCase_      :							Any       =      0
     UpperCAmelCase_      :							Union[str, Any]       =      1

     for current_denominator in range(1			,						limit + 1				):
          UpperCAmelCase_      :							List[Any]       =      current_denominator * numerator // denominator
          if current_denominator % denominator == 0:
               current_numerator -= 1
          if current_numerator * max_denominator > current_denominator * max_numerator:
               UpperCAmelCase_      :							Dict       =      current_numerator
               UpperCAmelCase_      :							Optional[int]       =      current_denominator
     return max_numerator


if __name__ == "__main__":
     print(solution(numerator=3, denominator=7, limit=1_000_000))





from collections import defaultdict







def lowerCamelCase__       (      _lowercase			,						_lowercase				):

     '''simple docstring'''


     UpperCAmelCase_      :							Optional[int]       =      first_str.lower().strip()
     UpperCAmelCase_      :							Any       =      second_str.lower().strip()

     # Remove whitespace
     UpperCAmelCase_      :							Any       =      first_str.replace(''' '''			,						''''''				)
     UpperCAmelCase_      :							int       =      second_str.replace(''' '''			,						''''''				)

     # Strings of different lengths are not anagrams
     if len(_lowercase				) != len(_lowercase				):
          return False

     # Default values for count should be 0
     UpperCAmelCase_      :							defaultdict[str, int]       =      defaultdict(_lowercase				)

     # For each character in input strings,
     # increment count in the corresponding
     for i in range(len(_lowercase				)				):
          count[first_str[i]] += 1
          count[second_str[i]] -= 1

     return all(_count == 0 for _count in count.values()				)


if __name__ == "__main__":
     from doctest import testmod

     testmod()
     __a          =			input('Enter the first string ').strip()
     __a          =			input('Enter the second string ').strip()

     __a          =			check_anagrams(input_a, input_b)
     print(F"""{input_a} and {input_b} are {"" if status else "not "}anagrams.""")