function main(input) {
   input = input.trim();
  const a = input.split("");
 a.sort(function(a,b){
       if( a < b ) return -1;
       if( a > b ) return 1;
       return 0;
    });   
  const ans = ['a', 'b', 'c'];
 console.log(JSON.stringify(a) == JSON.stringify(ans)?"Yes":"No");

}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));