"use strict";

function main(arg) {
    const S = arg.split("\n")[0].split("");
    if(S.some(n=>n=="a") && S.some(n=>n=="b") && S.some(n=>n=="c")) {
        console.log("Yes");
    } else {
        console.log("No");
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));