str1 = str(input('enter the sting1'))
str2 = str(input('enter the sting2'))
if(sorted(str1)== sorted(str2)):
    print('two strins are anagram of each other')
else:
    print('the strings are not the anagram of each other')