package main

import (
	"fmt"
)

func main() {
	var _S string
	fmt.Scanf("%s", &_S)
	S := []rune(_S)
	a := 0
	for i := 0; i < 3; i++ {
		switch S[i] {
			case 'a': a += 1
			case 'b': a += 2
			case 'c': a += 3
		}
	}
	if a == 6 {
		fmt.Printf("Yes\n")
	} else {
		fmt.Printf("No\n")
	}
	return
}
