Isomorphic Strings
Two strings are isomorphic if the letters of one can be replaced (consistently, one-to-one) to get the other — egg/add yes, foo/bar no. Print Yes or No.
Input
Two lines with one lowercase word each.
Output
Yes or No.
Constraints
Each word has up to letters.
Sample 1
Input
egg add
Output
Yes
Sample 2
Input
foo bar
Output
No