function main(input) {
  input = input.trim();
  const s = input.split('');
 
  let count1 = (s.match(/a/g)||[]).length;
  let count2 = (s.match(/b/g)||[]).length;
  let count3 = (s.match(/c/g)||[]).length;
  
  console.log((count1==1 && count2==1 && count3==1) ? 'Yes' : 'No');
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));