function main (input) {
  S = input.split('').sort();
  ans = S[0] + S[1] + S[2];

  if (ans === 'abc') {
    console.log('Yes');
  } else {
    console.log('No');
  }
}

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