


'''simple docstring'''



from __future__ import annotations

from typing import Any







def 			_UpperCamelCase					(						UpperCamelCase__    ):
			if not postfix_notation:
						return 0

			UpperCAmelCase__     :    Optional[int]         =   {"""+""", """-""", """*""", """/"""}
			UpperCAmelCase__     :    List[str]         =   []

			for token in postfix_notation:
						if token in operations:
									UpperCAmelCase__      ,				UpperCAmelCase__     :    str         =   stack.pop(), stack.pop()
									if token == "+":
												stack.append(a + b    )
									elif token == "-":
												stack.append(a - b    )
									elif token == "*":
												stack.append(a * b    )
									else:
												if a * b < 0 and a % b != 0:
															stack.append(a // b + 1    )
												else:
															stack.append(a // b    )
						else:
									stack.append(int(_UpperCAmelCase    )    )

			return stack.pop()


if __name__ == "__main__":
		import doctest

		doctest.testmod()




from collections import defaultdict





def      __snake_case	(			_UpperCAmelCase   , _UpperCAmelCase				):
    __a						       =				first_str.lower().strip()
    __a						       =				second_str.lower().strip()

    # Remove whitespace
    __a						       =				first_str.replace(''' '''   , ''''''				)
    __a						       =				second_str.replace(''' '''   , ''''''				)

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

    # Default values for count should be 0
    __a						       =				defaultdict(_UpperCAmelCase				)

    # For each character in input strings,
    # increment count in the corresponding
    for i in range(len(_UpperCAmelCase				)				):
        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()
 __snake_case						:Any      		=     input('''Enter the first string ''').strip()
 __snake_case						:int      		=     input('''Enter the second string ''').strip()

 __snake_case						:int      		=     check_anagrams(input_a, input_b)
 print(f'{input_a} and {input_b} are {"" if status else "not "}anagrams.')





