Chat in Telegram

Anagrams

EASY

One string is an anagram of another if the second is simply a rearrangement of the first. For example, 'heart' and 'earth' are anagrams. The strings 'python' and 'typhon' are anagrams as well. Your goal is to write a code that will take two strings and print 'yes' if strings are anagrams or 'no' if are not.

INPUT:
string1
string2

OUTPUT:
yes OR no

Example #1

Input

heart
earth

Output

yes

Example #2

Input

kek
eke

Output

no

Solution