function main (s) {
	var a=0,b=0,c=0;
	for(var i=0;i<s.length;i++)if(s[i]==='a')a++;
	else if(s[i]==='b')b++;
	else if(s[i]==='c')c++;
	if(a===1&&b===1&&c===1)console.log("Yes\n");
	else console.log("No\n");
}
 
main(require('fs').readFileSync('/dev/stdin', 'utf8'));