#include <bits/stdc++.h>
using namespace std;
int main()
{
string s,p;
getline (cin,s);
getline (cin,p);
int x = 0;
int a = s.length() ;
int b = p.length() ;
for(int i =0 ; i < b ; i++)
{
for(int j = 0 ; j < a ; j++)
{
if(s[j]==p[i])
{
x += 1;
break;
}
}
}
if(x == b)
cout <<"Yes"<<endl;
else
cout <<"No"<<endl;
return 0;
}
谢谢