Problem Statement
There are given two strings S and T consisting of lowercase English letters, both of same length. Let’s say length of both strings is N.
Is it possible to make both strings equal by doing following changes any number of times :
Input Format
First line contains a String S.
Second line contains a String T.
Output Format
Print “YES” (without quotes) if you can make S and T equal . Else print “NO” (without quotes) .
Constraints
1≤N≤105.
You can swap S(0) and S(4) . You can swap S(1) and S(3) for getting both strings equal .