function Main(s) {
  var a = 0, b = 0, c = 0;
  for(var i = 0; i < 3; i++){
    if(s[i] === "a")a = 1;
    if(s[i] === "b")b = 1;
    if(s[i] === "c")c = 1;
  }
  console.log(a + b + c === 3 ? "Yes" : "No");
}

Main(require("fs").readFileSync("/dev/stdin","utf8"));