#include <bits/stdc++.h>
using namespace std;

int cnt[50];
string s;

int main ()
{
	cin >> s;
	for (int i = 0; i < s.length(); ++i)
		++cnt[s[i]-'a'];
	for (int i = 0; i < 3; ++i)
		if (cnt[i] == 0)
		{
			puts("No");
			return 0;
		}
	puts("Yes");
}