#include <bits/stdc++.h>
using namespace std;
int main() {
  string a, c;
  int l, e, f = 0, n, k = 0;
  getline(cin, a);
  for (int i = 0; i < a.size(); i++)
    if (a[i] == 'a' && a[i] == 'b' && a[i] == 'c') {
      cout << "Yes";
      return 0;
    } else {
      cout << "No";
      return 0;
    }
}
