#include <iostream>
using namespace std;

int main(){
    string S,T;
    cin>>S>>T;
    int i,j;
    for(i=0,j=0;i<S.size();i+=2,j++){
        while(S[i]!=T[j]&&j<T.size())j++;
        if(j==T.size()) break;
    }
    if(i>=S.size()){
        cout<<"Yes"<<endl;
        return 0;
    }
    for(i=1,j=0;i<S.size();i+=2,j++){
        while(S[i]!=T[j]&&j<T.size())j++;
        if(j==T.size()) break;
    }
    if(i>=S.size()){
        cout<<"Yes"<<endl;
        return 0;
    }
    cout<<"No"<<endl;
    return 0;
}
### Prompt

Construct a Cpp code solution to the problem outlined:

Example

Input

acmicpc
tsukuba


Output

No

### Response

```cpp
#include <iostream>
using namespace std;

int main(){
    string S,T;
    cin>>S>>T;
    int i,j;
    for(i=0,j=0;i<S.size();i+=2,j++){
        while(S[i]!=T[j]&&j<T.size())j++;
        if(j==T.size()) break;
    }
    if(i>=S.size()){
        cout<<"Yes"<<endl;
        return 0;
    }
    for(i=1,j=0;i<S.size();i+=2,j++){
        while(S[i]!=T[j]&&j<T.size())j++;
        if(j==T.size()) break;
    }
    if(i>=S.size()){
        cout<<"Yes"<<endl;
        return 0;
    }
    cout<<"No"<<endl;
    return 0;
}
```