Two strings s and t of the same length are given. Determine whether it is possible to make t from s using exactly one reverse of some its substring.
The first line contains the string s, and the second — the string t. Both strings have the same length from 1 to 200000 characters and consist of lowercase Latin letters.
Output «YES», if it is possible to reverse some substring of s to make s equal to t, and «NO», otherwise.
abcdefg
abedcfg
YES
abcdefg
abdecfg
NO