#include<iostream>
using namespace std;
string s,t;
int main()
{
	cin>>s>>t;
	int now=0;
	for(int i=0;i<t.size();i++)
	{
		if(t[i]==s[now])
		{
			now+=2;
		}
		if(now/2>=s.size()/2)
		{
			cout<<"Yes"<<endl;
			return 0;
		}
	}
	now=1;
	for(int i=0;i<t.size();i++)
	{
		if(t[i]==s[now])
		{
			now+=2;
		}
		if((now-1)/2>=(s.size()-1)/2)
		{
			cout<<"Yes"<<endl;
			return 0;
		}
	}
	cout<<"No"<<endl;
}


### Prompt

In Cpp, your task is to solve the following problem:

Example

Input

acmicpc
tsukuba


Output

No

### Response

```cpp
#include<iostream>
using namespace std;
string s,t;
int main()
{
	cin>>s>>t;
	int now=0;
	for(int i=0;i<t.size();i++)
	{
		if(t[i]==s[now])
		{
			now+=2;
		}
		if(now/2>=s.size()/2)
		{
			cout<<"Yes"<<endl;
			return 0;
		}
	}
	now=1;
	for(int i=0;i<t.size();i++)
	{
		if(t[i]==s[now])
		{
			now+=2;
		}
		if((now-1)/2>=(s.size()-1)/2)
		{
			cout<<"Yes"<<endl;
			return 0;
		}
	}
	cout<<"No"<<endl;
}


```