function main(input) {
  input = input.trim();
  const s = input.split("").map(Number);

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