'listen' and 'silent' use exactly the same letters, just rearranged. Such words are anagrams.
Given two words, check whether they are anagrams of each other.
Input Format
The first line has word s.
The second line has word t.
Both are lowercase.
Output Format
Print Yes if they are anagrams, otherwise No.
Constraints
• 1 ≤ length of s, t ≤ 10^5
Examples
Example 1
Input
listen
silent
Output
Yes
Explanation Same letters, different order.
Example 2
Explanation rat has t but car has c.
Example 3
Explanation Same letters, but different counts.
Acceptance
—
Accepted
0
Submissions
0