import java.util.Scanner

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`);
    val S = scanner.nextLine()
    for ( c in "abc") {
        if (c !in S) {
            println("No")
            return
        }
    }
    println("Yes")
}