"use strict";
    
const main = arg => {
    arg = arg.trim().split("\n");
    const S = arg[0].split("");
    
    const hasA = S.filter(n=>n==="a").length > 0;
    const hasB = S.filter(n=>n==="b").length > 0;
    const hasC = S.filter(n=>n==="c").length > 0;
    
    if(hasA && hasB && hasC) {
        console.log("Yes");
    } else {
        console.log("No");
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));