#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int d[10];
for(int i=0; i<10; i++)
d[i] = 0;
while(n>0)
int c = n % 10;
if(d[c] != 0)
cout << "No";
return 0;
}
d[c] = 1;
n /= 10;
cout << "Yes";
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int d[10];
for(int i=0; i<10; i++)
d[i] = 0;
while(n>0)
{
int c = n % 10;
if(d[c] != 0)
{
cout << "No";
return 0;
}
d[c] = 1;
n /= 10;
}
cout << "Yes";
return 0;
}