"use strict";

const receive = () => require("fs").readFileSync("/dev/stdin", "utf8").split(/\s/);

const main = input => {
  const str = input[0].split("");
  const ans = (str[0] !== str[1] && str[0] !== str[2] && str[1] !== str[2]) ? "Yes" : "No";
  console.log(ans);
};

main(receive());
