Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Is Anagram

Limits 1s, 512 MB

An anagram is a word formed by rearranging the letters of another word.

The words “listen” and “silent” has the same letters in them appearing the same number of times. This makes these two words anagram to each other.

Given two words, you need to determine if they are anagrams of each other.

Input

The input will contain two strings A (Length of A) and B (Length of B < 100), one per line.

A and B will contain lowercase alphabets only.

Output

Print “Yes” if the two words are anagrams of each other, otherwise “No”.

Samples

InputOutput
listen
silent
Yes

Discussion