#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
string s,t;
int main(){
	cin>>s>>t;
	bool ok=true;int pnt=0;
	for(int i=0;i<s.size();i+=2){
		while(true){
			if(pnt==t.size()){ok=false;break;}
			if(t[pnt]==s[i]){pnt++;break;}
			pnt++;
		}
	}
	if(ok){cout<<"Yes"<<endl;return 0;}
	ok=true;pnt=0;
	for(int i=1;i<s.size();i+=2){
		while(true){
			if(pnt==t.size()){ok=false;break;}
			if(t[pnt]==s[i]){pnt++;break;}
			pnt++;
		}
	}
	if(ok){cout<<"Yes"<<endl;return 0;}
	cout<<"No"<<endl;
	return 0;
}
### Prompt

Your task is to create a Cpp solution to the following problem:

Example

Input

acmicpc
tsukuba


Output

No

### Response

```cpp
#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
string s,t;
int main(){
	cin>>s>>t;
	bool ok=true;int pnt=0;
	for(int i=0;i<s.size();i+=2){
		while(true){
			if(pnt==t.size()){ok=false;break;}
			if(t[pnt]==s[i]){pnt++;break;}
			pnt++;
		}
	}
	if(ok){cout<<"Yes"<<endl;return 0;}
	ok=true;pnt=0;
	for(int i=1;i<s.size();i+=2){
		while(true){
			if(pnt==t.size()){ok=false;break;}
			if(t[pnt]==s[i]){pnt++;break;}
			pnt++;
		}
	}
	if(ok){cout<<"Yes"<<endl;return 0;}
	cout<<"No"<<endl;
	return 0;
}
```