#include <iostream>
#include <map>
#include <set>
#include <vector>
#include <algorithm>
#include <math.h>
#include <cmath>
#include <deque>
#include <queue>

using namespace std;
typedef long long ll;
int cnt[3];

int main(){
    string s;
    cin >> s;
    
    for(int i = 0; i < s.size(); i++){
        cnt[(int)((char)s[i]-'a')]++;
    }
    if(cnt[0] == 1 && cnt[1] == 1 && cnt[2] == 1){
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    } 
}

