The pair removal operation is removing two adjacent characters from a string. For example, given the string "abcd", we can obtain "ab", "ad", and "cd" by pair removal.
You are given a string t. You can apply pair removal any number of times. Is it possible to obtain the string s?
The first line contains the string s, and the second line contains the string t (1≤∣s∣≤∣t∣≤105). Both strings are composed of lowercase letters of English alphabet.
Print "YES" if it is possible to obtain s from t using pair removal, or "NO" otherwise.
In the first test, one of the possible pair removal sequences is the following:
abcbcxddaabcxddaabcxaaxa